diff options
author | Yang Tse <yangsita@gmail.com> | 2006-10-14 12:01:44 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-10-14 12:01:44 +0000 |
commit | 69dcc701cfed2561f39a34e7ffa171b355281b88 (patch) | |
tree | c9458ce470c500b5225c20f3b19e223a66871951 /config-win32.h | |
parent | 8df5b67ab0c2b841c9aa6266c311a221a0c907d4 (diff) | |
download | c-ares-69dcc701cfed2561f39a34e7ffa171b355281b88.tar.gz c-ares-69dcc701cfed2561f39a34e7ffa171b355281b88.tar.bz2 c-ares-69dcc701cfed2561f39a34e7ffa171b355281b88.zip |
Define HAVE_STRUCT_TIMEVAL as appropriate for platforms that lack autotools support
Diffstat (limited to 'config-win32.h')
-rw-r--r-- | config-win32.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config-win32.h b/config-win32.h index 8e68f98..0cd626f 100644 --- a/config-win32.h +++ b/config-win32.h @@ -29,6 +29,12 @@ #define HAVE_GETOPT_H 1 #endif +/* Define if you have the <sys/time.h> header file */ +/* #define HAVE_SYS_TIME_H 1 */ + +/* Define if you have the <time.h> header file. */ +#define HAVE_TIME_H 1 + /* Define if you have the <unistd.h> header file. */ #if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__) || \ defined(__POCC__) @@ -48,6 +54,16 @@ #define HAVE_WS2TCPIP_H 1 /* ---------------------------------------------------------------- */ +/* OTHER HEADER INFO */ +/* ---------------------------------------------------------------- */ + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define if you can safely include both <sys/time.h> and <time.h>. */ +/* #define TIME_WITH_SYS_TIME 1 */ + +/* ---------------------------------------------------------------- */ /* FUNCTIONS */ /* ---------------------------------------------------------------- */ @@ -121,6 +137,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 + /* ---------------------------------------------------------------- */ /* IPV6 COMPATIBILITY */ /* ---------------------------------------------------------------- */ |