aboutsummaryrefslogtreecommitdiffstats
path: root/epan/addr_resolv.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-09-11 23:03:36 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-09-11 23:03:36 +0000
commit649715738e3ada24172f7ebb4d911baf30459c85 (patch)
tree340e3e52f4aa5df1448894b7c025a4c433a1cadc /epan/addr_resolv.c
parent3c268e2353d0c8e8498d5d71a79ea2969c7b6a98 (diff)
Use _WIN32 rather than WIN32 to determine if we're compiling on Win32;
according to Gisle Vanem, WIN32 isn't a built-in in MSVC, but _WIN32 is. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11972 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/addr_resolv.c')
-rw-r--r--epan/addr_resolv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c
index 88daa9c42c..09a6f44564 100644
--- a/epan/addr_resolv.c
+++ b/epan/addr_resolv.c
@@ -46,7 +46,7 @@
* code in tcpdump, to avoid those sorts of problems, and that was
* picked up by tcpdump.org tcpdump.
*/
-#if !defined(WIN32) && !defined(__APPLE__)
+#if !defined(_WIN32) && !defined(__APPLE__)
#ifndef AVOID_DNS_TIMEOUT
#define AVOID_DNS_TIMEOUT
#endif
@@ -95,7 +95,7 @@
# include <adns.h>
#endif
-#if defined(WIN32) && defined(INET6)
+#if defined(_WIN32) && defined(INET6)
# include <ws2tcpip.h>
#endif