MessagePack for C
Loading...
Searching...
No Matches
windows_store.h
Go to the documentation of this file.
1/*
2Copyright (c) Microsoft Corporation 2014
3Copyright Rene Rivera 2015
4Distributed under the Boost Software License, Version 1.0.
5(See accompanying file LICENSE_1_0.txt or copy at
6http://www.boost.org/LICENSE_1_0.txt)
7*/
8
9#ifndef MSGPACK_PREDEF_PLAT_WINDOWS_STORE_H
10#define MSGPACK_PREDEF_PLAT_WINDOWS_STORE_H
11
12#include <msgpack/predef/make.h>
16
17/*`
18[heading `MSGPACK_PLAT_WINDOWS_STORE`]
19
20[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
21for Windows Store development.
22
23[table
24 [[__predef_symbol__] [__predef_version__]]
25
26 [[`WINAPI_FAMILY == WINAPI_FAMILY_PC_APP`] [__predef_detection__]]
27 [[`WINAPI_FAMILY == WINAPI_FAMILY_APP` (deprecated)] [__predef_detection__]]
28]
29 */
30
31#define MSGPACK_PLAT_WINDOWS_STORE MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
32
33#if MSGPACK_OS_WINDOWS && \
34 ((defined(WINAPI_FAMILY_PC_APP) && WINAPI_FAMILY == WINAPI_FAMILY_PC_APP) || \
35 (defined(WINAPI_FAMILY_APP) && WINAPI_FAMILY == WINAPI_FAMILY_APP))
36# undef MSGPACK_PLAT_WINDOWS_STORE
37# define MSGPACK_PLAT_WINDOWS_STORE MSGPACK_VERSION_NUMBER_AVAILABLE
38#endif
39
40#if MSGPACK_PLAT_WINDOWS_STORE
41# define MSGPACK_PLAT_WINDOWS_STORE_AVAILABLE
43#endif
44
45#define MSGPACK_PLAT_WINDOWS_STORE_NAME "Windows Store"
46
47#endif
48
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition test.h:13
#define MSGPACK_PLAT_WINDOWS_STORE
Definition windows_store.h:31
#define MSGPACK_PLAT_WINDOWS_STORE_NAME
Definition windows_store.h:45