mirror of
https://github.com/boostorg/predef.git
synced 2025-08-01 20:54:25 +02:00
Fix UWP detection error on WinCE.
The ntverp.h header is not avilable on Win32 WinCE, just like MinGW32. Fixes #102 (merge from hash-predef)
This commit is contained in:
@@ -12,6 +12,8 @@ http://www.boost.org/LICENSE_1_0.txt)
|
||||
* Add `BOOST_ARCH_RISCV`. (from Andreas Schwab)
|
||||
* Add RISC-V endian detection. (from Thomas Petazzoni)
|
||||
* Convert documentation to AsciiDoctor format.
|
||||
* Document correct versions for C++ standard.
|
||||
* Fix compile error from not available header when building in WinCE.
|
||||
|
||||
== 1.10
|
||||
|
||||
|
@@ -32,8 +32,8 @@ UWP development.
|
||||
#define BOOST_PLAT_WINDOWS_SDK_VERSION BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
||||
|
||||
#if BOOST_OS_WINDOWS
|
||||
// MinGW (32-bit) has no ntverp.h header
|
||||
#if !defined(__MINGW32__)
|
||||
// MinGW (32-bit), and WinCE, don't have a ntverp.h header
|
||||
#if !defined(__MINGW32__) && !defined(_WIN32_WCE)
|
||||
# include <ntverp.h>
|
||||
# undef BOOST_PLAT_WINDOWS_SDK_VERSION
|
||||
# define BOOST_PLAT_WINDOWS_SDK_VERSION BOOST_VERSION_NUMBER(0, 0, VER_PRODUCTBUILD)
|
||||
|
Reference in New Issue
Block a user