github.com/searKing/golang/go@v1.2.117/os/signal/cgo/include/boost/predef/platform/windows_system.h (about) 1 /* 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) 6 */ 7 8 #ifndef BOOST_PREDEF_PLAT_WINDOWS_SYSTEM_H 9 #define BOOST_PREDEF_PLAT_WINDOWS_SYSTEM_H 10 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> 15 16 /* tag::reference[] 17 = `BOOST_PLAT_WINDOWS_SYSTEM` 18 19 https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide[UWP] 20 for Windows System development. 21 22 [options="header"] 23 |=== 24 | {predef_symbol} | {predef_version} 25 26 | `WINAPI_FAMILY == WINAPI_FAMILY_SYSTEM` | {predef_detection} 27 |=== 28 */ // end::reference[] 29 30 #define BOOST_PLAT_WINDOWS_SYSTEM BOOST_VERSION_NUMBER_NOT_AVAILABLE 31 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 36 #endif 37 38 #if BOOST_PLAT_WINDOWS_SYSTEM 39 # define BOOST_PLAT_WINDOWS_SYSTEM_AVAILABLE 40 # include <boost/predef/detail/platform_detected.h> 41 #endif 42 43 #define BOOST_PLAT_WINDOWS_SYSTEM_NAME "Windows Drivers and Tools" 44 45 #endif 46 47 #include <boost/predef/detail/test.h> 48 BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_WINDOWS_SYSTEM,BOOST_PLAT_WINDOWS_SYSTEM_NAME)