forked from boostorg/config
34 lines
1009 B
C++
34 lines
1009 B
C++
// (C) Copyright John Maddock 2001.
|
|
// (C) Copyright Jens Maurer 2001.
|
|
// Use, modification and distribution are subject to 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)
|
|
|
|
// See http://www.boost.org for most recent version.
|
|
|
|
// config for libstdc++ v3
|
|
// not much to go in here:
|
|
|
|
#ifdef __GLIBCXX__
|
|
#define BOOST_STDLIB "GNU libstdc++ version " BOOST_STRINGIZE(__GLIBCXX__)
|
|
#else
|
|
#define BOOST_STDLIB "GNU libstdc++ version " BOOST_STRINGIZE(__GLIBCPP__)
|
|
#endif
|
|
|
|
#if !defined(_GLIBCPP_USE_WCHAR_T) && !defined(_GLIBCXX_USE_WCHAR_T)
|
|
# define BOOST_NO_CWCHAR
|
|
# define BOOST_NO_CWCTYPE
|
|
# define BOOST_NO_STD_WSTRING
|
|
# define BOOST_NO_STD_WSTREAMBUF
|
|
#endif
|
|
|
|
#if !defined(_GLIBCPP_USE_LONG_LONG) \
|
|
&& !defined(_GLIBCXX_USE_LONG_LONG)\
|
|
&& defined(BOOST_HAS_LONG_LONG)
|
|
// May have been set by compiler/*.hpp, but "long long" without library
|
|
// support is useless.
|
|
# undef BOOST_HAS_LONG_LONG
|
|
#endif
|
|
|
|
|