diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2006-10-31 17:54:51 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2006-10-31 17:54:51 +0000 |
commit | a56ef9272979c53108da5f316decc482deedb46f (patch) | |
tree | 2ee0a3328ff3561e8dcd4bb2c71e492913ae62c7 /ares | |
parent | 561d01c4504571196571b8e0ac6b63207a92410a (diff) |
Added Watt-32 section to fix things for Watt32+Win32 targets.
Diffstat (limited to 'ares')
-rw-r--r-- | ares/config-win32.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ares/config-win32.h b/ares/config-win32.h index 0cd626ff4..4ab422844 100644 --- a/ares/config-win32.h +++ b/ares/config-win32.h @@ -127,6 +127,16 @@ /* Define to the function return type for send. */ #define SEND_TYPE_RETV int +/* Specifics for the Watt-32 tcp/ip stack */ +#ifdef WATT32 + #define SOCKET int + #define NS_INADDRSZ 4 + #define HAVE_ARPA_NAMESER_H 1 + #undef HAVE_WINSOCK_H + #undef HAVE_WINSOCK2_H + #undef HAVE_WS2TCPIP_H +#endif + /* ---------------------------------------------------------------- */ /* STRUCT RELATED */ /* ---------------------------------------------------------------- */ |