diff options
author | Gerald Combs <gerald@wireshark.org> | 2022-08-04 11:23:59 -0700 |
---|---|---|
committer | A Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2022-08-05 08:33:49 +0000 |
commit | 74e0b506be5e6acc863fedb2cfed6132e98618e6 (patch) | |
tree | bc33f135ba630a08aeba3e86f7a5bac598eac0a4 /cmakeconfig.h.in | |
parent | a0d03745a9c8c3b00e7ae91506cd8bbe06f4b3a5 (diff) |
Windows: Don't define or check for WIN32.
_WIN32 is defined by the compiler, and is arguably a more reliable
test that WIN32. Switch to checking for _WIN32 in a couple of places in
the code.
Remove a WIN32 definition from config.h. It was added for the WinPcap
developer pack but we no longer use that.
Diffstat (limited to 'cmakeconfig.h.in')
-rw-r--r-- | cmakeconfig.h.in | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/cmakeconfig.h.in b/cmakeconfig.h.in index f60f6fbb22..9fbedea831 100644 --- a/cmakeconfig.h.in +++ b/cmakeconfig.h.in @@ -316,11 +316,6 @@ #endif #if defined(_WIN32) - /* WpdPack/INclude/pcap/pcap.h checks for "#if defined(WIN32)" */ -# ifndef WIN32 -# define WIN32 1 -# endif - /* * Flex (v 2.5.35) uses this symbol to "exclude" unistd.h */ |