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)
8 #ifndef BOOST_PREDEF_LIBRARY_STD_STDCPP3_H
9 #define BOOST_PREDEF_LIBRARY_STD_STDCPP3_H
11 #include <boost/predef/library/std/_prefix.h>
13 #include <boost/predef/version_number.h>
14 #include <boost/predef/make.h>
17 [heading `BOOST_LIB_STD_GNU`]
19 [@http://gcc.gnu.org/libstdc++/ GNU libstdc++] Standard C++ library.
20 Version number available as year (from 1970), month, and day.
23 [[__predef_symbol__] [__predef_version__]]
25 [[`__GLIBCXX__`] [__predef_detection__]]
26 [[`__GLIBCPP__`] [__predef_detection__]]
28 [[`__GLIBCXX__`] [V.R.P]]
29 [[`__GLIBCPP__`] [V.R.P]]
33 #define BOOST_LIB_STD_GNU BOOST_VERSION_NUMBER_NOT_AVAILABLE
35 #if defined(__GLIBCPP__) || defined(__GLIBCXX__)
36 # undef BOOST_LIB_STD_GNU
37 # if defined(__GLIBCXX__)
38 # define BOOST_LIB_STD_GNU BOOST_PREDEF_MAKE_YYYYMMDD(__GLIBCXX__)
40 # define BOOST_LIB_STD_GNU BOOST_PREDEF_MAKE_YYYYMMDD(__GLIBCPP__)
45 # define BOOST_LIB_STD_GNU_AVAILABLE
48 #define BOOST_LIB_STD_GNU_NAME "GNU"
52 #include <boost/predef/detail/test.h>
53 BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_GNU,BOOST_LIB_STD_GNU_NAME)