MessagePack for C
include
msgpack
predef
platform
windows_desktop.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_DESKTOP_H
10
#define MSGPACK_PREDEF_PLAT_WINDOWS_DESKTOP_H
11
12
#include <
msgpack/predef/version_number.h
>
13
#include <
msgpack/predef/make.h
>
14
#include <
msgpack/predef/os/windows.h
>
15
16
/*`
17
[heading `MSGPACK_PLAT_WINDOWS_DESKTOP`]
18
19
[table
20
[[__predef_symbol__] [__predef_version__]]
21
22
[[`!WINAPI_FAMILY`] [__predef_detection__]]
23
[[`WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP`] [__predef_detection__]]
24
]
25
*/
26
27
#define MSGPACK_PLAT_WINDOWS_DESKTOP MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
28
29
#if MSGPACK_OS_WINDOWS && \
30
( !defined(WINAPI_FAMILY) || (WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP) )
31
# undef MSGPACK_PLAT_WINDOWS_DESKTOP
32
# define MSGPACK_PLAT_WINDOWS_DESKTOP MSGPACK_VERSION_NUMBER_AVAILABLE
33
#endif
34
35
#if MSGPACK_PLAT_WINDOWS_DESKTOP
36
# define MSGPACK_PLAT_WINDOWS_DESKTOP_AVAILABLE
37
# include <
msgpack/predef/detail/platform_detected.h
>
38
#endif
39
40
#define MSGPACK_PLAT_WINDOWS_DESKTOP_NAME "Windows Desktop"
41
42
#endif
43
44
#include <
msgpack/predef/detail/test.h
>
45
MSGPACK_PREDEF_DECLARE_TEST
(
MSGPACK_PLAT_WINDOWS_DESKTOP
,
MSGPACK_PLAT_WINDOWS_DESKTOP_NAME
)
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
MSGPACK_PLAT_WINDOWS_DESKTOP
#define MSGPACK_PLAT_WINDOWS_DESKTOP
Definition:
windows_desktop.h:27
MSGPACK_PLAT_WINDOWS_DESKTOP_NAME
#define MSGPACK_PLAT_WINDOWS_DESKTOP_NAME
Definition:
windows_desktop.h:40
make.h
Generated by
1.8.17