Make cmake build work for msvc 2013 (Graham Bloice)

Change-Id: I8e026dd75085723b95eb2542e102b4383379dfc8
Reviewed-on: https://code.wireshark.org/review/2469
Reviewed-by: Jörg Mayer <jmayer@loplof.de>
This commit is contained in:
Joerg Mayer 2014-06-20 01:48:07 +02:00 committed by Jörg Mayer
parent b6d20a27a1
commit cdb68020ee
1 changed files with 3 additions and 3 deletions

View File

@ -393,10 +393,10 @@
/* FIXME: Detection doesn't work */
# define HAVE_NTDDNDIS_H 1
/* Visual C 9 (2008), Visual C 10 (2010) and Visual C 11 (2012) need these
* prototypes
/* Visual C 9 (2008), Visual C 10 (2010), 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
# if _MSC_VER == 1500 || _MSC_VER == 1600 || _MSC_VER == 1700 || _MSC_VER == 1800
# define NTDDI_VERSION NTDDI_WIN2K
# define _WIN32_WINNT _WIN32_WINNT_WIN2K
# endif