aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_private.h
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2004-08-20 13:45:26 +0000
committerGisle Vanem <gvanem@broadpark.no>2004-08-20 13:45:26 +0000
commitb17e32baa750d9ce9459e06b144e4ed376dbaa32 (patch)
treeff1096681439c771456586b8e9e0d542e28ff1ca /ares/ares_private.h
parentcd52b9f0da6ad17287e85e55363248d9f7430ba4 (diff)
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/ares_private.h')
-rw-r--r--ares/ares_private.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/ares/ares_private.h b/ares/ares_private.h
index c75ab97c0..0b16dc0df 100644
--- a/ares/ares_private.h
+++ b/ares/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"