2 Copyright James E. King III, 2017
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at
5 http://www.boost.org/LICENSE_1_0.txt)
8 #ifndef BOOST_PREDEF_PLAT_WINDOWS_SYSTEM_H
9 #define BOOST_PREDEF_PLAT_WINDOWS_SYSTEM_H
11 #include <boost/predef/make.h>
12 #include <boost/predef/os/windows.h>
13 #include <boost/predef/platform/windows_uwp.h>
14 #include <boost/predef/version_number.h>
17 = `BOOST_PLAT_WINDOWS_SYSTEM`
19 https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP]
20 for Windows System development.
24 | {predef_symbol} | {predef_version}
26 | `WINAPI_FAMILY == WINAPI_FAMILY_SYSTEM` | {predef_detection}
28 */ // end::reference[]
30 #define BOOST_PLAT_WINDOWS_SYSTEM BOOST_VERSION_NUMBER_NOT_AVAILABLE
32 #if BOOST_OS_WINDOWS && \
33 defined(WINAPI_FAMILY_SYSTEM) && WINAPI_FAMILY == WINAPI_FAMILY_SYSTEM
34 # undef BOOST_PLAT_WINDOWS_SYSTEM
35 # define BOOST_PLAT_WINDOWS_SYSTEM BOOST_VERSION_NUMBER_AVAILABLE
38 #if BOOST_PLAT_WINDOWS_SYSTEM
39 # define BOOST_PLAT_WINDOWS_SYSTEM_AVAILABLE
40 # include <boost/predef/detail/platform_detected.h>
43 #define BOOST_PLAT_WINDOWS_SYSTEM_NAME "Windows Drivers and Tools"
47 #include <boost/predef/detail/test.h>
48 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_WINDOWS_SYSTEM
,BOOST_PLAT_WINDOWS_SYSTEM_NAME
)