UnWindows.h: don't define NTDDI_VERSION if compiling for WinCE target

This commit is contained in:
Günter Obiltschnig 2014-09-04 23:38:11 +02:00
parent a4488f2f76
commit 8ae1a7e8ab

View File

@ -58,6 +58,7 @@
// definitions.) For more information, see SdkDdkVer.h. // definitions.) For more information, see SdkDdkVer.h.
#if !defined(_WIN32_WCE)
#if defined(_WIN32_WINNT) #if defined(_WIN32_WINNT)
#if (_WIN32_WINNT < 0x0501) #if (_WIN32_WINNT < 0x0501)
#error Unsupported Windows version. #error Unsupported Windows version.
@ -77,6 +78,7 @@
#define _WIN32_WINNT 0x0501 #define _WIN32_WINNT 0x0501
#define NTDDI_VERSION 0x05010100 #define NTDDI_VERSION 0x05010100
#endif #endif
#endif
// To prevent Platform_WIN32.h to modify version defines, // To prevent Platform_WIN32.h to modify version defines,