Bump the minimum required Windows version to Windows Vista and Windows Server 2008
This commit is contained in:
@@ -4,10 +4,10 @@
|
||||
//
|
||||
|
||||
/*
|
||||
* Minimum version is Windows XP SP1
|
||||
* Minimum version is Windows Vista and Windows Server 2008
|
||||
*/
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#define NTDDI_VERSION 0x05010100
|
||||
#define _WIN32_WINNT 0x0600
|
||||
#define NTDDI_VERSION 0x06000100
|
||||
|
||||
#ifndef _CRT_SECURE_NO_DEPRECATE
|
||||
#define _CRT_SECURE_NO_DEPRECATE 1
|
||||
|
||||
@@ -43,19 +43,19 @@
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Minimum version is Windows XP
|
||||
* Minimum version is Windows Vista and Windows Server 2008
|
||||
*/
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0501
|
||||
#define _WIN32_WINNT 0x0600
|
||||
#endif
|
||||
#if _WIN32_WINNT < 0x0501
|
||||
#error Minimum Target environment is Windows XP and Windows Server 2003
|
||||
#if _WIN32_WINNT < 0x0600
|
||||
#error Minimum Target environment is Windows Vista and Windows Server 2008
|
||||
#endif
|
||||
#ifndef NTDDI_VERSION
|
||||
#define NTDDI_VERSION 0x05010100
|
||||
#define NTDDI_VERSION 0x06000100
|
||||
#endif
|
||||
#if NTDDI_VERSION < 0x05010100
|
||||
#error Minimum Target environment is Windows XP SP1 and Windows Server 2003
|
||||
#if NTDDI_VERSION < 0x06000100
|
||||
#error Minimum Target environment is Windows Vista and Windows Server 2008
|
||||
#endif
|
||||
|
||||
/* Define if you have the ANSI C header files. */
|
||||
|
||||
Reference in New Issue
Block a user