]> The Tcpdump Group git mirrors - tcpdump/commit
The official #define for 32-bit and 64-bit Windows is _WIN32.
authorGuy Harris <[email protected]>
Mon, 31 Aug 2015 21:43:15 +0000 (14:43 -0700)
committerGuy Harris <[email protected]>
Thu, 3 Sep 2015 02:42:07 +0000 (19:42 -0700)
commitd248280b00b2b52d58a28dc7998fa8be0e18dae3
tree41cf5cbc08b8daa70e6d9131a7b71ab5c5f09516
parentba9350fb64379812dc49ff04de567e4c7a4a430d
The official #define for 32-bit and 64-bit Windows is _WIN32.

It's _WIN32, with a leading underscore, not WIN32.  See, for example:

https://sourceforge.net/p/predef/wiki/OperatingSystems/

and

https://msdn.microsoft.com/en-us/library/b0084kay.aspx

*Some* environments may also define WIN32, but we shouldn't depend on
that.
addrtoname.c
print-decnet.c
tcpdump-stdinc.h
tcpdump.c