diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2004-08-20 13:45:26 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2004-08-20 13:45:26 +0000 |
commit | 6deb40acac246489db7c6021f7432d83a867670d (patch) | |
tree | 48fe529bed68f3b197e8e39fd60d70453d5551ce /ares_private.h | |
parent | 5133b2b6b9755497bf2cc6c58f40fbebc24b47f6 (diff) | |
download | c-ares-6deb40acac246489db7c6021f7432d83a867670d.tar.gz c-ares-6deb40acac246489db7c6021f7432d83a867670d.tar.bz2 c-ares-6deb40acac246489db7c6021f7432d83a867670d.zip |
Changes for Watt-32 on Windows. I've assumed Configure
sets the required HAVE_xx defines for non-DOS/Win targets.
Diffstat (limited to 'ares_private.h')
-rw-r--r-- | ares_private.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ares_private.h b/ares_private.h index c75ab97..0b16dc0 100644 --- a/ares_private.h +++ b/ares_private.h @@ -18,9 +18,7 @@ #include <stdio.h> #include <sys/types.h> -#ifdef WIN32 - -#else +#if !defined(WIN32) || defined(WATT32) #include <netinet/in.h> /* We define closesocket() here so that we can use this function all over the source code for closing sockets. */ @@ -41,7 +39,7 @@ #define INADDR_NONE 0xffffffff #endif -#ifdef WIN32 +#if defined(WIN32) && !defined(WATT32) #define IsNT ((int)GetVersion()>0) #define WIN_NS_9X "System\\CurrentControlSet\\Services\\VxD\\MSTCP" |