MessagePack for C
msgpack
predef
platform
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
12
#include <
msgpack/predef/make.h
>
13
#include <
msgpack/predef/os/windows.h
>
14
#include <
msgpack/predef/platform/windows_phone.h
>
15
#include <
msgpack/predef/platform/windows_store.h
>
16
#include <
msgpack/predef/version_number.h
>
17
18
/*`
19
[heading `MSGPACK_PLAT_WINDOWS_RUNTIME`]
20
21
Deprecated.
22
23
[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
24
for Windows Phone or Store development. This does not align to the existing development model for
25
UWP and is deprecated. Use one of the other `MSGPACK_PLAT_WINDOWS_*`definitions instead.
26
27
[table
28
[[__predef_symbol__] [__predef_version__]]
29
30
[[`MSGPACK_PLAT_WINDOWS_PHONE`] [__predef_detection__]]
31
[[`MSGPACK_PLAT_WINDOWS_STORE`] [__predef_detection__]]
32
]
33
*/
34
35
#define MSGPACK_PLAT_WINDOWS_RUNTIME MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
36
37
#if MSGPACK_OS_WINDOWS && \
38
(MSGPACK_PLAT_WINDOWS_STORE || MSGPACK_PLAT_WINDOWS_PHONE)
39
# undef MSGPACK_PLAT_WINDOWS_RUNTIME
40
# define MSGPACK_PLAT_WINDOWS_RUNTIME MSGPACK_VERSION_NUMBER_AVAILABLE
41
#endif
42
43
#if MSGPACK_PLAT_WINDOWS_RUNTIME
44
# define MSGPACK_PLAT_WINDOWS_RUNTIME_AVAILABLE
45
# include <
msgpack/predef/detail/platform_detected.h
>
46
#endif
47
48
#define MSGPACK_PLAT_WINDOWS_RUNTIME_NAME "Windows Runtime"
49
50
#endif
51
52
#include <
msgpack/predef/detail/test.h
>
53
MSGPACK_PREDEF_DECLARE_TEST
(
MSGPACK_PLAT_WINDOWS_RUNTIME
,
MSGPACK_PLAT_WINDOWS_RUNTIME_NAME
)
MSGPACK_PLAT_WINDOWS_RUNTIME_NAME
#define MSGPACK_PLAT_WINDOWS_RUNTIME_NAME
Definition:
windows_runtime.h:48
windows_store.h
windows_phone.h
MSGPACK_PLAT_WINDOWS_RUNTIME
#define MSGPACK_PLAT_WINDOWS_RUNTIME
Definition:
windows_runtime.h:35
version_number.h
test.h
windows.h
MSGPACK_PREDEF_DECLARE_TEST
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition:
test.h:13
platform_detected.h
make.h
Generated by
1.8.17