libsmbios_c library
libstdcpp2.hpp
Go to the documentation of this file.
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++ v2 (packaged with gcc 2.96, RHAS21 or RH7.x)
10 // not much to go in here:
11 
12 #define LIBSMBIOS_STDLIB "GNU libstdc++ version < 3 (cannot autodetect)."
13 
14 // forward compat for newer names
15 // GCC 2.96 has only ios, but the std says it has been renamed to ios_base
16 #if __GNUC__ < 3
17 # define ios_base ios
18 #endif
19 
20 #ifndef _GLIBCPP_USE_WCHAR_T
21 # define LIBSMBIOS_NO_CWCHAR
22 # define LIBSMBIOS_NO_CWCTYPE
23 # define LIBSMBIOS_NO_STD_WSTRING
24 # define LIBSMBIOS_NO_STD_WSTREAMBUF
25 #endif
26 
27