MessagePack for C
include
msgpack
predef
os
windows.h
Go to the documentation of this file.
1
/*
2
Copyright Rene Rivera 2008-2015
3
Distributed under the Boost Software License, Version 1.0.
4
(See accompanying file LICENSE_1_0.txt or copy at
5
http://www.boost.org/LICENSE_1_0.txt)
6
*/
7
8
#ifndef MSGPACK_PREDEF_OS_WINDOWS_H
9
#define MSGPACK_PREDEF_OS_WINDOWS_H
10
11
#include <
msgpack/predef/version_number.h
>
12
#include <
msgpack/predef/make.h
>
13
14
/*`
15
[heading `MSGPACK_OS_WINDOWS`]
16
17
[@http://en.wikipedia.org/wiki/Category:Microsoft_Windows Microsoft Windows] operating system.
18
19
[table
20
[[__predef_symbol__] [__predef_version__]]
21
22
[[`_WIN32`] [__predef_detection__]]
23
[[`_WIN64`] [__predef_detection__]]
24
[[`__WIN32__`] [__predef_detection__]]
25
[[`__TOS_WIN__`] [__predef_detection__]]
26
[[`__WINDOWS__`] [__predef_detection__]]
27
]
28
*/
29
30
#define MSGPACK_OS_WINDOWS MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
31
32
#if !defined(MSGPACK_PREDEF_DETAIL_OS_DETECTED) && ( \
33
defined(_WIN32) || defined(_WIN64) || \
34
defined(__WIN32__) || defined(__TOS_WIN__) || \
35
defined(__WINDOWS__) \
36
)
37
# undef MSGPACK_OS_WINDOWS
38
# define MSGPACK_OS_WINDOWS MSGPACK_VERSION_NUMBER_AVAILABLE
39
#endif
40
41
#if MSGPACK_OS_WINDOWS
42
# define MSGPACK_OS_WINDOWS_AVAILABLE
43
# include <
msgpack/predef/detail/os_detected.h
>
44
#endif
45
46
#define MSGPACK_OS_WINDOWS_NAME "Microsoft Windows"
47
48
#endif
49
50
#include <
msgpack/predef/detail/test.h
>
51
MSGPACK_PREDEF_DECLARE_TEST
(
MSGPACK_OS_WINDOWS
,
MSGPACK_OS_WINDOWS_NAME
)
MSGPACK_OS_WINDOWS_NAME
#define MSGPACK_OS_WINDOWS_NAME
Definition:
windows.h:46
MSGPACK_OS_WINDOWS
#define MSGPACK_OS_WINDOWS
Definition:
windows.h:30
version_number.h
test.h
os_detected.h
MSGPACK_PREDEF_DECLARE_TEST
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition:
test.h:13
make.h
Generated by
1.8.17