diff options
Diffstat (limited to 'addrtoname.c')
-rw-r--r-- | addrtoname.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addrtoname.c b/addrtoname.c index f772801a..551ebb90 100644 --- a/addrtoname.c +++ b/addrtoname.c @@ -89,7 +89,7 @@ static struct hnamemem eprototable[HASHNAMESIZE]; static struct hnamemem dnaddrtable[HASHNAMESIZE]; static struct hnamemem ipxsaptable[HASHNAMESIZE]; -#if defined(INET6) && defined(WIN32) +#if defined(INET6) && defined(_WIN32) /* * fake gethostbyaddr for Win2k/XP * gethostbyaddr() returns incorrect value when AF_INET6 is passed @@ -127,7 +127,7 @@ win32_gethostbyaddr(const char *addr, int len, int type) } } #define gethostbyaddr win32_gethostbyaddr -#endif /* INET6 & WIN32 */ +#endif /* INET6 & _WIN32 */ #ifdef INET6 struct h6namemem { @@ -775,7 +775,7 @@ init_servarray(netdissect_options *ndo) } /* in libpcap.a (nametoaddr.c) */ -#if defined(WIN32) && !defined(USE_STATIC_LIBPCAP) +#if defined(_WIN32) && !defined(USE_STATIC_LIBPCAP) extern __declspec(dllimport) #else extern |