forked from boostorg/predef
git-svn-id: http://svn.boost.org/svn/boost/sandbox/predef@75741 b8fc166d-592f-0410-95f2-cb63ce0dd405
36 lines
963 B
C
36 lines
963 B
C
/*
|
|
Copyright Redshift Software, Inc. 2008-2011
|
|
Distributed under the Boost Software License, Version 1.0.
|
|
(See accompanying file LICENSE_1_0.txt or copy at
|
|
http://www.boost.org/LICENSE_1_0.txt)
|
|
*/
|
|
|
|
#ifndef BOOST_PREDEF_LIBRARY_STD_STDCPP3_H
|
|
#define BOOST_PREDEF_LIBRARY_STD_STDCPP3_H
|
|
|
|
#include <boost/predef/version_number.h>
|
|
#include <boost/predef/make.h>
|
|
|
|
/*`
|
|
[heading `BOOST_LIBSTD_GNU`]
|
|
|
|
[@http://gcc.gnu.org/libstdc++/ GNU libstdc++] Standard C++ library.
|
|
Version number available as year (from 1970), month, and day.
|
|
*/
|
|
|
|
#define BOOST_LIBSTD_GNU BOOST_VERSION_NUMBER(0,0,0)
|
|
|
|
#if defined(__GLIBCPP__) || defined(__GLIBCXX__)
|
|
#undef BOOST_LIBSTD_GNU
|
|
#if defined(__GLIBCXX__)
|
|
#define BOOST_LIBSTD_GNU BOOST_PREDEF_MAKE_YYYY_MM_DD(__GLIBCXX__)
|
|
#else
|
|
#define BOOST_LIBSTD_GNU BOOST_PREDEF_MAKE_YYYY_MM_DD(__GLIBCPP__)
|
|
#endif
|
|
#endif
|
|
|
|
#include <boost/predef/detail/test.h>
|
|
BOOST_PREDEF_DECLARE_TEST(BOOST_LIBSTD_GNU,"GNU")
|
|
|
|
#endif
|