00001 // (C) Copyright John Maddock 2001. 00002 // (C) Copyright Jens Maurer 2001. 00003 // Use, modification and distribution are subject to the 00004 // Boost Software License, Version 1.0. (See accompanying file 00005 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 00006 00007 // See http://www.boost.org for most recent version. 00008 00009 // config for libstdc++ v2 (packaged with gcc 2.96, RHAS21 or RH7.x) 00010 // not much to go in here: 00011 00012 #define LIBSMBIOS_STDLIB "GNU libstdc++ version < 3 (cannot autodetect)." 00013 00014 // forward compat for newer names 00015 // GCC 2.96 has only ios, but the std says it has been renamed to ios_base 00016 #if __GNUC__ < 3 00017 # define ios_base ios 00018 #endif 00019 00020 #ifndef _GLIBCPP_USE_WCHAR_T 00021 # define LIBSMBIOS_NO_CWCHAR 00022 # define LIBSMBIOS_NO_CWCTYPE 00023 # define LIBSMBIOS_NO_STD_WSTRING 00024 # define LIBSMBIOS_NO_STD_WSTREAMBUF 00025 #endif 00026 00027