]> 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]>
Mon, 31 Aug 2015 21:43:15 +0000 (14:43 -0700)
commitf79d3e15d171a19565a0a106f24540d5f7ae5d93
tree92be7b7a38f0d6e690ac4f08d2783af1efa191d4
parent668e3cf744f2397c8ed7f234f1dc3b13b31eebdf
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