1 /* 2 Copyright Rene Rivera 2008-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 MSGPACK_PREDEF_LIBRARY_STD_STDCPP3_H 9 #define MSGPACK_PREDEF_LIBRARY_STD_STDCPP3_H 10 11 #include <rpc/msgpack/predef/library/std/_prefix.h> 12 13 #include <rpc/msgpack/predef/version_number.h> 14 #include <rpc/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 #include <rpc/msgpack/predef/detail/test.h> 51 MSGPACK_PREDEF_DECLARE_TEST(MSGPACK_LIB_STD_GNU,MSGPACK_LIB_STD_GNU_NAME) 52 53 54 #endif 55