forked from osmocom/wireshark
Move the Windows build target OS definitions to Win XP
This doesn't preclude use on < XP but does potentially allow use of API's that don't exist on Win2K, and doing so would then stop the exe from running on 2K. Change-Id: I08b58bd510b832ddabbb717dd73eb7a89264048e Reviewed-on: https://code.wireshark.org/review/2504 Reviewed-by: Evan Huus <eapache@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
a1112249fa
commit
554c902bf0
|
@ -397,8 +397,8 @@
|
|||
* need these prototypes
|
||||
* XXX: Can we use MSC_VER >= 1500 ?? */
|
||||
# if _MSC_VER == 1500 || _MSC_VER == 1600 || _MSC_VER == 1700 || _MSC_VER == 1800
|
||||
# define NTDDI_VERSION NTDDI_WIN2K
|
||||
# define _WIN32_WINNT _WIN32_WINNT_WIN2K
|
||||
# define NTDDI_VERSION NTDDI_WINXPSP3
|
||||
# define _WIN32_WINNT _WIN32_WINNT_WINXP
|
||||
# endif
|
||||
|
||||
/*
|
||||
|
|
|
@ -232,8 +232,8 @@
|
|||
/* Visual C 9 (2008), Visual C 10 (2010) and Visual C 11 (2012) and Visual C 12 (2013) need these prototypes */
|
||||
/* XXX: Can we use MSC_VER >= 1500 ?? */
|
||||
#if _MSC_VER == 1500 || _MSC_VER == 1600 || _MSC_VER == 1700 || _MSC_VER == 1800
|
||||
#define NTDDI_VERSION NTDDI_WIN2K
|
||||
#define _WIN32_WINNT _WIN32_WINNT_WIN2K
|
||||
#define NTDDI_VERSION NTDDI_WINXPSP3
|
||||
#define _WIN32_WINNT _WIN32_WINNT_WINXP
|
||||
#endif
|
||||
|
||||
#define strncasecmp strnicmp
|
||||
|
|
Loading…
Reference in New Issue