mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-28 19:51:58 +01:00
UnWindows.h: don't define NTDDI_VERSION if compiling for WinCE target
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user