MessagePack for C
Loading...
Searching...
No Matches
windows_runtime.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_RUNTIME_H
10#define MSGPACK_PREDEF_PLAT_WINDOWS_RUNTIME_H
11
12#include <msgpack/predef/make.h>
17
18/*`
19[heading `MSGPACK_PLAT_WINDOWS_RUNTIME`]
20
21Deprecated.
22
23[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
24for Windows Phone or Store development. This does not align to the existing development model for
25UWP 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
46#endif
47
48#define MSGPACK_PLAT_WINDOWS_RUNTIME_NAME "Windows Runtime"
49
50#endif
51
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition test.h:13
#define MSGPACK_PLAT_WINDOWS_RUNTIME_NAME
Definition windows_runtime.h:48
#define MSGPACK_PLAT_WINDOWS_RUNTIME
Definition windows_runtime.h:35