MessagePack for C
windows_runtime.h
Go to the documentation of this file.
1 /*
2 Copyright (c) Microsoft Corporation 2014
3 Copyright Rene Rivera 2015
4 Distributed under the Boost Software License, Version 1.0.
5 (See accompanying file LICENSE_1_0.txt or copy at
6 http://www.boost.org/LICENSE_1_0.txt)
7 */
8 
9 #ifndef MSGPACK_PREDEF_PLAT_WINDOWS_RUNTIME_H
10 #define MSGPACK_PREDEF_PLAT_WINDOWS_RUNTIME_H
11 
13 #include <msgpack/predef/make.h>
15 
16 /*`
17 [heading `MSGPACK_PLAT_WINDOWS_RUNTIME`]
18 
19 [table
20  [[__predef_symbol__] [__predef_version__]]
21 
22  [[`WINAPI_FAMILY == WINAPI_FAMILY_APP`] [__predef_detection__]]
23  [[`WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP`] [__predef_detection__]]
24  ]
25  */
26 
27 #define MSGPACK_PLAT_WINDOWS_RUNTIME MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
28 
29 #if MSGPACK_OS_WINDOWS && defined(WINAPI_FAMILY) && \
30  ( WINAPI_FAMILY == WINAPI_FAMILY_APP || WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP )
31 # undef MSGPACK_PLAT_WINDOWS_RUNTIME
32 # define MSGPACK_PLAT_WINDOWS_RUNTIME MSGPACK_VERSION_NUMBER_AVAILABLE
33 #endif
34 
35 #if MSGPACK_PLAT_WINDOWS_RUNTIME
36 # define MSGPACK_PLAT_WINDOWS_RUNTIME_AVAILABLE
38 #endif
39 
40 #define MSGPACK_PLAT_WINDOWS_RUNTIME_NAME "Windows Runtime"
41 
42 #endif
43 
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition: test.h:13
#define MSGPACK_PLAT_WINDOWS_RUNTIME
Definition: windows_runtime.h:27
#define MSGPACK_PLAT_WINDOWS_RUNTIME_NAME
Definition: windows_runtime.h:40