forked from osmocom/wireshark
CMake+Windows: Try to prevent symbol redefinitions again
parent
cdff6da68e
commit
184a567621
|
@ -477,16 +477,6 @@ if(WIN32)
|
|||
# This avoids conflicts with the C++ standard library.
|
||||
#
|
||||
-DNOMINMAX
|
||||
#
|
||||
# Make sure everyone is using the same API and that it's sufficient
|
||||
# for our needs.
|
||||
# This should match the following:
|
||||
# - The <compatibility><application> section in resources\wireshark.exe.manifest.in
|
||||
# - The GetWindowsVersion parts of packaging\nsis\wireshark.nsi
|
||||
# - The VersionNT parts of packaging\wix\Prerequisites.wxi
|
||||
#
|
||||
-DNTDDI_VERSION=NTDDI_WIN7
|
||||
-D_WIN32_WINNT=_WIN32_WINNT_WIN7
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -321,6 +321,22 @@
|
|||
# ifndef __STDC__
|
||||
# define __STDC__ 0
|
||||
# endif
|
||||
|
||||
/*
|
||||
* Make sure everyone is using the same API and that it's sufficient
|
||||
* for our needs.
|
||||
* This should match the following:
|
||||
* - The <compatibility><application> section in resources\wireshark.exe.manifest.in
|
||||
* - The GetWindowsVersion parts of packaging\nsis\wireshark.nsi
|
||||
* - The VersionNT parts of packaging\wix\Prerequisites.wxi
|
||||
*/
|
||||
# ifndef NTDDI_VERSION
|
||||
# define NTDDI_VERSION NTDDI_WIN7
|
||||
# endif
|
||||
|
||||
# ifndef _WIN32_WINNT
|
||||
# define _WIN32_WINNT _WIN32_WINNT_WIN7
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_PCRE2
|
||||
|
|
Loading…
Reference in New Issue