]> The Tcpdump Group git mirrors - libpcap/blobdiff - Win32/Src/gai_strerror.c
The official #define for 32-bit and 64-bit Windows is _WIN32.
[libpcap] / Win32 / Src / gai_strerror.c
index a36c35d8f5ea7d826b12d01fe6b27f47956445b5..d1e70f84a9dc54cefd5ee277f31543668dd5d8b9 100644 (file)
@@ -34,7 +34,7 @@ __FBSDID("$FreeBSD: /repoman/r/ncvs/src/lib/libc/net/gai_strerror.c,v 1.1 2005/0
 
 */
 
-#ifdef WIN32
+#ifdef _WIN32
 
 #include <ws2tcpip.h>
 
@@ -80,4 +80,4 @@ WSAAPI gai_strerrorA(int ecode)
        return "Unknown error";
 }
 
-#endif /* gai_strerror */
\ No newline at end of file
+#endif /* gai_strerror */