MessagePack for C
include
msgpack
predef
library
std
stdcpp3.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_LIBRARY_STD_STDCPP3_H
9
#define MSGPACK_PREDEF_LIBRARY_STD_STDCPP3_H
10
11
#include <
msgpack/predef/library/std/_prefix.h
>
12
13
#include <
msgpack/predef/version_number.h
>
14
#include <
msgpack/predef/make.h
>
15
16
/*`
17
[heading `MSGPACK_LIB_STD_GNU`]
18
19
[@http://gcc.gnu.org/libstdc++/ GNU libstdc++] Standard C++ library.
20
Version number available as year (from 1970), month, and day.
21
22
[table
23
[[__predef_symbol__] [__predef_version__]]
24
25
[[`__GLIBCXX__`] [__predef_detection__]]
26
[[`__GLIBCPP__`] [__predef_detection__]]
27
28
[[`__GLIBCXX__`] [V.R.P]]
29
[[`__GLIBCPP__`] [V.R.P]]
30
]
31
*/
32
33
#define MSGPACK_LIB_STD_GNU MSGPACK_VERSION_NUMBER_NOT_AVAILABLE
34
35
#if defined(__GLIBCPP__) || defined(__GLIBCXX__)
36
# undef MSGPACK_LIB_STD_GNU
37
# if defined(__GLIBCXX__)
38
# define MSGPACK_LIB_STD_GNU MSGPACK_PREDEF_MAKE_YYYYMMDD(__GLIBCXX__)
39
# else
40
# define MSGPACK_LIB_STD_GNU MSGPACK_PREDEF_MAKE_YYYYMMDD(__GLIBCPP__)
41
# endif
42
#endif
43
44
#if MSGPACK_LIB_STD_GNU
45
# define MSGPACK_LIB_STD_GNU_AVAILABLE
46
#endif
47
48
#define MSGPACK_LIB_STD_GNU_NAME "GNU"
49
50
#endif
51
52
#include <
msgpack/predef/detail/test.h
>
53
MSGPACK_PREDEF_DECLARE_TEST
(
MSGPACK_LIB_STD_GNU
,
MSGPACK_LIB_STD_GNU_NAME
)
_prefix.h
MSGPACK_LIB_STD_GNU_NAME
#define MSGPACK_LIB_STD_GNU_NAME
Definition:
stdcpp3.h:48
version_number.h
test.h
MSGPACK_LIB_STD_GNU
#define MSGPACK_LIB_STD_GNU
Definition:
stdcpp3.h:33
MSGPACK_PREDEF_DECLARE_TEST
#define MSGPACK_PREDEF_DECLARE_TEST(x, s)
Definition:
test.h:13
make.h
Generated by
1.8.17