aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2006-10-14 12:01:44 +0000
committerYang Tse <yangsita@gmail.com>2006-10-14 12:01:44 +0000
commitdc3ed353132f853dc3ddee410a4f9423534a8289 (patch)
tree9a852ecd1fed09fb2ce62fd4e18b1f09da7e606d /lib
parent6b868df554ba12ffa640a92e769352af84805b63 (diff)
Define HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack autotools support
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.netware3
-rw-r--r--lib/config-amigaos.h1
-rw-r--r--lib/config-mac.h2
-rw-r--r--lib/config-riscos.h3
-rw-r--r--lib/config-tpf.h3
-rw-r--r--lib/config-win32.h6
-rw-r--r--lib/config-win32ce.h6
-rw-r--r--lib/config.dos1
8 files changed, 24 insertions, 1 deletions
diff --git a/lib/Makefile.netware b/lib/Makefile.netware
index 291b24ff6..d9489c4c0 100644
--- a/lib/Makefile.netware
+++ b/lib/Makefile.netware
@@ -359,9 +359,10 @@ config.h: Makefile.netware
@echo $(DL)#define TIME_WITH_SYS_TIME 1$(DL) >> $@
@echo $(DL)#define HAVE_AF_INET6 1$(DL) >> $@
@echo $(DL)#define HAVE_PF_INET6 1$(DL) >> $@
+ @echo $(DL)#define HAVE_STRUCT_ADDRINFO 1$(DL) >> $@
@echo $(DL)#define HAVE_STRUCT_IN6_ADDR 1$(DL) >> $@
@echo $(DL)#define HAVE_STRUCT_SOCKADDR_IN6 1$(DL) >> $@
- @echo $(DL)#define HAVE_STRUCT_ADDRINFO 1$(DL) >> $@
+ @echo $(DL)#define HAVE_STRUCT_TIMEVAL 1$(DL) >> $@
@echo $(DL)#define SIZEOF_STRUCT_IN6_ADDR 16$(DL) >> $@
@echo $(DL)#define SIZEOF_STRUCT_IN_ADDR 4$(DL) >> $@
ifdef DISABLE_LDAP
diff --git a/lib/config-amigaos.h b/lib/config-amigaos.h
index 88e8f5c97..3d880003d 100644
--- a/lib/config-amigaos.h
+++ b/lib/config-amigaos.h
@@ -39,6 +39,7 @@
#define HAVE_STRINGS_H 1
#define HAVE_STRING_H 1
#define HAVE_STRSTR 1
+#define HAVE_STRUCT_TIMEVAL 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_SOCKIO_H 1
diff --git a/lib/config-mac.h b/lib/config-mac.h
index 35eeef6cc..afca67775 100644
--- a/lib/config-mac.h
+++ b/lib/config-mac.h
@@ -15,6 +15,7 @@
#define HAVE_TIME_H 1
#define HAVE_STDLIB_H 1
#define HAVE_UTIME_H 1
+#define HAVE_SYS_TIME_H 1
#define TIME_WITH_SYS_TIME 1
@@ -27,6 +28,7 @@
#define HAVE_MEMCPY 1
#define HAVE_SELECT 1
#define HAVE_SOCKET 1
+#define HAVE_STRUCT_TIMEVAL 1
//#define HAVE_STRICMP 1
#define HAVE_SIGACTION 1
diff --git a/lib/config-riscos.h b/lib/config-riscos.h
index bb4bafba5..e2877df75 100644
--- a/lib/config-riscos.h
+++ b/lib/config-riscos.h
@@ -119,6 +119,9 @@
/* Define if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY
+/* Define if you have the `timeval' struct. */
+#define HAVE_STRUCT_TIMEVAL
+
/* Define if you have the `inet_addr' function. */
#undef HAVE_INET_ADDR
diff --git a/lib/config-tpf.h b/lib/config-tpf.h
index 5deb112d2..6b1accc79 100644
--- a/lib/config-tpf.h
+++ b/lib/config-tpf.h
@@ -475,6 +475,9 @@
/* if struct sockaddr_storage is defined */
/* #undef HAVE_STRUCT_SOCKADDR_STORAGE */
+/* Define this if you have struct timeval */
+#define HAVE_STRUCT_TIMEVAL 1
+
/* Define to 1 if you have the <sys/filio.h> header file. */
#define HAVE_SYS_FILIO_H 1
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 33322c839..871e6bef6 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -81,6 +81,9 @@
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
+/* Define if you have the <sys/time.h> header file */
+/* #define HAVE_SYS_TIME_H 1 */
+
/* Define if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
@@ -335,6 +338,9 @@
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
#endif
+/* Define this if you have struct timeval */
+#define HAVE_STRUCT_TIMEVAL 1
+
/* ---------------------------------------------------------------- */
/* COMPILER SPECIFIC */
/* ---------------------------------------------------------------- */
diff --git a/lib/config-win32ce.h b/lib/config-win32ce.h
index f9796a302..21afc4268 100644
--- a/lib/config-win32ce.h
+++ b/lib/config-win32ce.h
@@ -75,6 +75,9 @@
/* Define if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
+/* Define if you have the <sys/time.h> header file */
+/* #define HAVE_SYS_TIME_H 1 */
+
/* Define if you have the <sys/types.h> header file. */
/* #define HAVE_SYS_TYPES_H 1 */
@@ -307,6 +310,9 @@
/* Define this if you have struct sockaddr_storage */
/* #define HAVE_STRUCT_SOCKADDR_STORAGE 1 */
+/* Define this if you have struct timeval */
+#define HAVE_STRUCT_TIMEVAL 1
+
/* ---------------------------------------------------------------- */
/* COMPILER SPECIFIC */
/* ---------------------------------------------------------------- */
diff --git a/lib/config.dos b/lib/config.dos
index a5df499c0..405399f87 100644
--- a/lib/config.dos
+++ b/lib/config.dos
@@ -56,6 +56,7 @@
#define HAVE_STRICMP 1
#define HAVE_STRSTR 1
#define HAVE_STRTOLL 1
+#define HAVE_STRUCT_TIMEVAL 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1