MessagePack for C
windows_server.h
Go to the documentation of this file.
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 MSGPACK_PREDEF_PLAT_WINDOWS_SERVER_H
9 #define MSGPACK_PREDEF_PLAT_WINDOWS_SERVER_H
10 
11 #include <msgpack/predef/make.h>
15 
16 /*`
17 [heading `MSGPACK_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 MSGPACK_PLAT_WINDOWS_SERVER MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
30 
31 #if MSGPACK_OS_WINDOWS && \
32  defined(WINAPI_FAMILY_SERVER) && WINAPI_FAMILY == WINAPI_FAMILY_SERVER
33 # undef MSGPACK_PLAT_WINDOWS_SERVER
34 # define MSGPACK_PLAT_WINDOWS_SERVER MSGPACK_VERSION_NUMBER_AVAILABLE
35 #endif
36 
37 #if MSGPACK_PLAT_WINDOWS_SERVER
38 # define MSGPACK_PLAT_WINDOWS_SERVER_AVAILABLE
40 #endif
41 
42 #define MSGPACK_PLAT_WINDOWS_SERVER_NAME "Windows Server"
43 
44 #endif
45 
version_number.h
windows_uwp.h
MSGPACK_PLAT_WINDOWS_SERVER
#define MSGPACK_PLAT_WINDOWS_SERVER
Definition: windows_server.h:29
test.h
MSGPACK_PLAT_WINDOWS_SERVER_NAME
#define MSGPACK_PLAT_WINDOWS_SERVER_NAME
Definition: windows_server.h:42
windows.h
MSGPACK_PREDEF_DECLARE_TEST
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition: test.h:13
platform_detected.h
make.h