Commit 7cba3cc4 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Bump the minimum required Windows version to Windows Vista and Windows Server 2008

parent c74ee5bb
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment