MessagePack for C
include
msgpack
predef
os
linux.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_LINUX_H
9
#define MSGPACK_PREDEF_OS_LINUX_H
10
11
#include <
msgpack/predef/version_number.h
>
12
#include <
msgpack/predef/make.h
>
13
14
/*`
15
[heading `MSGPACK_OS_LINUX`]
16
17
[@http://en.wikipedia.org/wiki/Linux Linux] operating system.
18
19
[table
20
[[__predef_symbol__] [__predef_version__]]
21
22
[[`linux`] [__predef_detection__]]
23
[[`__linux`] [__predef_detection__]]
24
]
25
*/
26
27
#define MSGPACK_OS_LINUX MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
28
29
#if !defined(MSGPACK_PREDEF_DETAIL_OS_DETECTED) && ( \
30
defined(linux) || defined(__linux) \
31
)
32
# undef MSGPACK_OS_LINUX
33
# define MSGPACK_OS_LINUX MSGPACK_VERSION_NUMBER_AVAILABLE
34
#endif
35
36
#if MSGPACK_OS_LINUX
37
# define MSGPACK_OS_LINUX_AVAILABLE
38
# include <
msgpack/predef/detail/os_detected.h
>
39
#endif
40
41
#define MSGPACK_OS_LINUX_NAME "Linux"
42
43
#endif
44
45
#include <
msgpack/predef/detail/test.h
>
46
MSGPACK_PREDEF_DECLARE_TEST
(
MSGPACK_OS_LINUX
,
MSGPACK_OS_LINUX_NAME
)
version_number.h
test.h
MSGPACK_OS_LINUX
#define MSGPACK_OS_LINUX
Definition:
linux.h:27
os_detected.h
MSGPACK_PREDEF_DECLARE_TEST
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition:
test.h:13
make.h
MSGPACK_OS_LINUX_NAME
#define MSGPACK_OS_LINUX_NAME
Definition:
linux.h:41
Generated by
1.8.13