Chris@16
|
1 /*
|
Chris@101
|
2 Copyright Rene Rivera 2008-2013
|
Chris@16
|
3 Distributed under the Boost Software License, Version 1.0.
|
Chris@16
|
4 (See accompanying file LICENSE_1_0.txt or copy at
|
Chris@16
|
5 http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
6 */
|
Chris@16
|
7
|
Chris@16
|
8 #ifndef BOOST_PREDEF_LIBRARY_STD_STDCPP3_H
|
Chris@16
|
9 #define BOOST_PREDEF_LIBRARY_STD_STDCPP3_H
|
Chris@16
|
10
|
Chris@16
|
11 #include <boost/predef/library/std/_prefix.h>
|
Chris@16
|
12
|
Chris@16
|
13 #include <boost/predef/version_number.h>
|
Chris@16
|
14 #include <boost/predef/make.h>
|
Chris@16
|
15
|
Chris@16
|
16 /*`
|
Chris@16
|
17 [heading `BOOST_LIB_STD_GNU`]
|
Chris@16
|
18
|
Chris@16
|
19 [@http://gcc.gnu.org/libstdc++/ GNU libstdc++] Standard C++ library.
|
Chris@16
|
20 Version number available as year (from 1970), month, and day.
|
Chris@16
|
21
|
Chris@16
|
22 [table
|
Chris@16
|
23 [[__predef_symbol__] [__predef_version__]]
|
Chris@16
|
24
|
Chris@16
|
25 [[`__GLIBCXX__`] [__predef_detection__]]
|
Chris@16
|
26 [[`__GLIBCPP__`] [__predef_detection__]]
|
Chris@16
|
27
|
Chris@16
|
28 [[`__GLIBCXX__`] [V.R.P]]
|
Chris@16
|
29 [[`__GLIBCPP__`] [V.R.P]]
|
Chris@16
|
30 ]
|
Chris@16
|
31 */
|
Chris@16
|
32
|
Chris@16
|
33 #define BOOST_LIB_STD_GNU BOOST_VERSION_NUMBER_NOT_AVAILABLE
|
Chris@16
|
34
|
Chris@16
|
35 #if defined(__GLIBCPP__) || defined(__GLIBCXX__)
|
Chris@16
|
36 # undef BOOST_LIB_STD_GNU
|
Chris@16
|
37 # if defined(__GLIBCXX__)
|
Chris@16
|
38 # define BOOST_LIB_STD_GNU BOOST_PREDEF_MAKE_YYYYMMDD(__GLIBCXX__)
|
Chris@16
|
39 # else
|
Chris@16
|
40 # define BOOST_LIB_STD_GNU BOOST_PREDEF_MAKE_YYYYMMDD(__GLIBCPP__)
|
Chris@16
|
41 # endif
|
Chris@16
|
42 #endif
|
Chris@16
|
43
|
Chris@16
|
44 #if BOOST_LIB_STD_GNU
|
Chris@16
|
45 # define BOOST_LIB_STD_GNU_AVAILABLE
|
Chris@16
|
46 #endif
|
Chris@16
|
47
|
Chris@16
|
48 #define BOOST_LIB_STD_GNU_NAME "GNU"
|
Chris@16
|
49
|
Chris@16
|
50 #include <boost/predef/detail/test.h>
|
Chris@16
|
51 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_GNU,BOOST_LIB_STD_GNU_NAME)
|
Chris@16
|
52
|
Chris@16
|
53
|
Chris@16
|
54 #endif
|