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:
Graham Bloice 2014-06-21 00:37:58 +01:00 committed by Michael Mann
parent a1112249fa
commit 554c902bf0
2 changed files with 4 additions and 4 deletions

View File

@ -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
/*

View File

@ -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