]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-common.c
The official #define for 32-bit and 64-bit Windows is _WIN32.
[libpcap] / pcap-common.c
index 4db49688547a4a2ce02d52666b0ee132dee3c9ca..b4a25028aa8f61e0f8038633fe736b2adf3fe2a0 100644 (file)
@@ -25,9 +25,9 @@
 #include "config.h"
 #endif
 
-#ifdef WIN32
+#ifdef _WIN32
 #include <pcap-stdinc.h>
-#else /* WIN32 */
+#else /* _WIN32 */
 #if HAVE_INTTYPES_H
 #include <inttypes.h>
 #elif HAVE_STDINT_H
@@ -37,7 +37,7 @@
 #include <sys/bitypes.h>
 #endif
 #include <sys/types.h>
-#endif /* WIN32 */
+#endif /* _WIN32 */
 
 #include "pcap-int.h"
 #include "pcap/usb.h"