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_SERVER_H |
9 | #define BOOST_PREDEF_PLAT_WINDOWS_SERVER_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 | /*` |
17 | [heading `BOOST_PLAT_WINDOWS_SERVER`] |
18 | |
19 | [@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP] |
20 | for Windows Server development. |
21 | |
22 | [table |
23 | [[__predef_symbol__] [__predef_version__]] |
24 | |
25 | [[`WINAPI_FAMILY == WINAPI_FAMILY_SERVER`] [__predef_detection__]] |
26 | ] |
27 | */ |
28 | |
29 | #define BOOST_PLAT_WINDOWS_SERVER BOOST_VERSION_NUMBER_NOT_AVAILABLE |
30 | |
31 | #if BOOST_OS_WINDOWS && \ |
32 | defined(WINAPI_FAMILY_SERVER) && WINAPI_FAMILY == WINAPI_FAMILY_SERVER |
33 | # undef BOOST_PLAT_WINDOWS_SERVER |
34 | # define BOOST_PLAT_WINDOWS_SERVER BOOST_VERSION_NUMBER_AVAILABLE |
35 | #endif |
36 | |
37 | #if BOOST_PLAT_WINDOWS_SERVER |
38 | # define BOOST_PLAT_WINDOWS_SERVER_AVAILABLE |
39 | # include <boost/predef/detail/platform_detected.h> |
40 | #endif |
41 | |
42 | #define BOOST_PLAT_WINDOWS_SERVER_NAME "Windows Server" |
43 | |
44 | #endif |
45 | |
46 | #include <boost/predef/detail/test.h> |
47 | BOOST_PREDEF_DECLARE_TEST(BOOST_PLAT_WINDOWS_SERVER,BOOST_PLAT_WINDOWS_SERVER_NAME) |
48 | |