1 | /* |
2 | Copyright Rene Rivera 2011-2013 |
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 BOOST_PREDEF_LIBRARY_STD_CXX_H |
9 | #define BOOST_PREDEF_LIBRARY_STD_CXX_H |
10 | |
11 | #include <boost/predef/library/std/_prefix.h> |
12 | |
13 | #include <boost/predef/version_number.h> |
14 | #include <boost/predef/make.h> |
15 | |
16 | /*` |
17 | [heading `BOOST_LIB_STD_CXX`] |
18 | |
19 | [@http://libcxx.llvm.org/ libc++] C++ Standard Library. |
20 | |
21 | [table |
22 | [[__predef_symbol__] [__predef_version__]] |
23 | |
24 | [[`_LIBCPP_VERSION`] [__predef_detection__]] |
25 | |
26 | [[`_LIBCPP_VERSION`] [V.0.P]] |
27 | ] |
28 | */ |
29 | |
30 | #define BOOST_LIB_STD_CXX BOOST_VERSION_NUMBER_NOT_AVAILABLE |
31 | |
32 | #if defined(_LIBCPP_VERSION) |
33 | # undef BOOST_LIB_STD_CXX |
34 | # define BOOST_LIB_STD_CXX BOOST_PREDEF_MAKE_10_VPPP(_LIBCPP_VERSION) |
35 | #endif |
36 | |
37 | #if BOOST_LIB_STD_CXX |
38 | # define BOOST_LIB_STD_CXX_AVAILABLE |
39 | #endif |
40 | |
41 | #define BOOST_LIB_STD_CXX_NAME "libc++" |
42 | |
43 | #include <boost/predef/detail/test.h> |
44 | BOOST_PREDEF_DECLARE_TEST(BOOST_LIB_STD_CXX,BOOST_LIB_STD_CXX_NAME) |
45 | |
46 | |
47 | #endif |
48 | |