[MSVC 2015] Change the check to look for MSVC 2010 or newer rather than

adding MSVC 2015

Change-Id: I151be089529f2bb460b313f84a348f51689eb445
Reviewed-on: https://code.wireshark.org/review/8854
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Anders 2015-06-09 12:45:03 +02:00 committed by Anders Broman
parent e187b5396e
commit 9cb09a242f
1 changed files with 1 additions and 2 deletions

View File

@ -231,8 +231,7 @@
#define _U_
/* 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
#if _MSC_VER >= 1500
#define NTDDI_VERSION NTDDI_WINXPSP3
#define _WIN32_WINNT _WIN32_WINNT_WINXP
#endif