MessagePack for C
Loading...
Searching...
No Matches
windows_desktop.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_DESKTOP_H
10#define MSGPACK_PREDEF_PLAT_WINDOWS_DESKTOP_H
11
12#include <msgpack/predef/make.h>
16
17/*`
18[heading `MSGPACK_PLAT_WINDOWS_DESKTOP`]
19
20[@https://docs.microsoft.com/en-us/windows/uwp/get-started/universal-application-platform-guide UWP]
21for Windows Desktop development. Also available if the Platform SDK is too
22old to support UWP.
23
24[table
25 [[__predef_symbol__] [__predef_version__]]
26
27 [[`WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP`] [__predef_detection__]]
28 [[`!MSGPACK_PLAT_WINDOWS_UWP`] [__predef_detection__]]
29 ]
30 */
31
32#define MSGPACK_PLAT_WINDOWS_DESKTOP MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
33
34#if MSGPACK_OS_WINDOWS && \
35 ((defined(WINAPI_FAMILY_DESKTOP_APP) && WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP) || \
36 !MSGPACK_PLAT_WINDOWS_UWP)
37# undef MSGPACK_PLAT_WINDOWS_DESKTOP
38# define MSGPACK_PLAT_WINDOWS_DESKTOP MSGPACK_VERSION_NUMBER_AVAILABLE
39#endif
40
41#if MSGPACK_PLAT_WINDOWS_DESKTOP
42# define MSGPACK_PLAT_WINDOWS_DESKTOP_AVAILABLE
44#endif
45
46#define MSGPACK_PLAT_WINDOWS_DESKTOP_NAME "Windows Desktop"
47
48#endif
49
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition test.h:13
#define MSGPACK_PLAT_WINDOWS_DESKTOP_NAME
Definition windows_desktop.h:46
#define MSGPACK_PLAT_WINDOWS_DESKTOP
Definition windows_desktop.h:32