mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02:00
UnWindows.h: don't define NTDDI_VERSION if compiling for WinCE target
This commit is contained in:
parent
a4488f2f76
commit
8ae1a7e8ab
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user