File indexing completed on 2025-01-18 09:48:06
0001
0002
0003
0004
0005
0006
0007
0008 #ifndef BOOST_PREDEF_PLAT_WINDOWS_UWP_H
0009 #define BOOST_PREDEF_PLAT_WINDOWS_UWP_H
0010
0011 #include <boost/predef/make.h>
0012 #include <boost/predef/os/windows.h>
0013 #include <boost/predef/version_number.h>
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031 #define BOOST_PLAT_WINDOWS_UWP BOOST_VERSION_NUMBER_NOT_AVAILABLE
0032 #define BOOST_PLAT_WINDOWS_SDK_VERSION BOOST_VERSION_NUMBER_NOT_AVAILABLE
0033
0034 #if BOOST_OS_WINDOWS
0035
0036 #if !defined(__MINGW32__) && !defined(_WIN32_WCE) && !defined(__WINE__)
0037 # include <ntverp.h>
0038 # undef BOOST_PLAT_WINDOWS_SDK_VERSION
0039 # define BOOST_PLAT_WINDOWS_SDK_VERSION BOOST_VERSION_NUMBER(0, 0, VER_PRODUCTBUILD)
0040 #endif
0041
0042
0043 #if ((BOOST_PLAT_WINDOWS_SDK_VERSION >= BOOST_VERSION_NUMBER(0, 0, 9200)) || \
0044 (defined(__MINGW64__) && __MINGW64_VERSION_MAJOR >= 3))
0045 # undef BOOST_PLAT_WINDOWS_UWP
0046 # define BOOST_PLAT_WINDOWS_UWP BOOST_VERSION_NUMBER_AVAILABLE
0047 #endif
0048 #endif
0049
0050 #if BOOST_PLAT_WINDOWS_UWP
0051 # define BOOST_PLAT_WINDOWS_UWP_AVAILABLE
0052 # include <boost/predef/detail/platform_detected.h>
0053 # include <winapifamily.h> // Windows SDK
0054 #endif
0055
0056 #define BOOST_PLAT_WINDOWS_UWP_NAME "Universal Windows Platform"
0057
0058 #endif
0059
0060 #include <boost/predef/detail/test.h>
0061 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_WINDOWS_UWP, BOOST_PLAT_WINDOWS_UWP_NAME)