MessagePack for C
windows_runtime.h
Go to the documentation of this file.
1 /*
2 Copyright (c) Microsoft Corporation 2014
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_RUNTIME_H
9 #define MSGPACK_PREDEF_PLAT_WINDOWS_RUNTIME_H
10 
12 #include <msgpack/predef/make.h>
14 
15 /*`
16 [heading `MSGPACK_PLAT_WINDOWS_RUNTIME`]
17 
18 [table
19  [[__predef_symbol__] [__predef_version__]]
20 
21  [[`WINAPI_FAMILY == WINAPI_FAMILY_APP`] [__predef_detection__]]
22  [[`WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP`] [__predef_detection__]]
23  ]
24  */
25 
26 #define MSGPACK_PLAT_WINDOWS_RUNTIME MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
27 
28 #if MSGPACK_OS_WINDOWS && defined(WINAPI_FAMILY) && \
29  ( WINAPI_FAMILY == WINAPI_FAMILY_APP || WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP )
30 # undef MSGPACK_PLAT_WINDOWS_RUNTIME
31 # define MSGPACK_PLAT_WINDOWS_RUNTIME MSGPACK_VERSION_NUMBER_AVAILABLE
32 #endif
33 
34 #if MSGPACK_PLAT_WINDOWS_RUNTIME
35 # define MSGPACK_PLAT_WINDOWS_RUNTIME_AVALIABLE
37 #endif
38 
39 #define MSGPACK_PLAT_WINDOWS_RUNTIME_NAME "Windows Runtime"
40 
43 
44 #endif
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition: test.h:13
#define MSGPACK_PLAT_WINDOWS_RUNTIME
Definition: windows_runtime.h:26
#define MSGPACK_PLAT_WINDOWS_RUNTIME_NAME
Definition: windows_runtime.h:39