]> git.lyx.org Git - lyx.git/blob - boost/boost/config/stdlib/libstdcpp3.hpp
update to boost 1.32.0
[lyx.git] / boost / boost / config / stdlib / libstdcpp3.hpp
1 //  (C) Copyright John Maddock 2001. 
2 //  (C) Copyright Jens Maurer 2001. 
3 //  Use, modification and distribution are subject to the 
4 //  Boost Software License, Version 1.0. (See accompanying file 
5 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6
7 //  See http://www.boost.org for most recent version.
8
9 //  config for libstdc++ v3
10 //  not much to go in here:
11
12 #ifdef __GLIBCXX__
13 #define BOOST_STDLIB "GNU libstdc++ version " BOOST_STRINGIZE(__GLIBCXX__)
14 #else
15 #define BOOST_STDLIB "GNU libstdc++ version " BOOST_STRINGIZE(__GLIBCPP__)
16 #endif
17
18 #if !defined(_GLIBCPP_USE_WCHAR_T) && !defined(_GLIBCXX_USE_WCHAR_T)
19 #  define BOOST_NO_CWCHAR
20 #  define BOOST_NO_CWCTYPE
21 #  define BOOST_NO_STD_WSTRING
22 #  define BOOST_NO_STD_WSTREAMBUF
23 #endif
24
25 #if defined(__osf__) && !defined(_REENTRANT) && defined(_GLIBCXX_HAVE_GTHR_DEFAULT)
26 // GCC 3.4 on Tru64 forces the definition of _REENTRANT when any std lib header
27 // file is included, therefore for consistency we define it here as well.
28 #  define _REENTRANT
29 #endif
30
31 #ifdef __GLIBCXX__ // gcc 3.4 and greater:
32 #  ifdef _GLIBCXX_HAVE_GTHR_DEFAULT
33       // 
34       // If the std lib has thread support turned on, then turn it on in Boost
35       // as well.  We do this because some gcc-3.4 std lib headers define _REENTANT
36       // while others do not...
37       // 
38 #     define BOOST_HAS_THREADS
39 #  else
40 #     define BOOST_DISABLE_THREADS
41 #  endif
42 #endif
43
44  
45 #if !defined(_GLIBCPP_USE_LONG_LONG) \
46     && !defined(_GLIBCXX_USE_LONG_LONG)\
47     && defined(BOOST_HAS_LONG_LONG)
48 // May have been set by compiler/*.hpp, but "long long" without library
49 // support is useless.
50 #  undef BOOST_HAS_LONG_LONG
51 #endif