Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

select_stdlib_config.hpp

Go to the documentation of this file.
00001 //  Boost compiler configuration selection header file
00002 
00003 //  (C) Copyright John Maddock 2001 - 2003. 
00004 //  (C) Copyright Jens Maurer 2001 - 2002. 
00005 //  Use, modification and distribution are subject to the 
00006 //  Boost Software License, Version 1.0. (See accompanying file 
00007 //  LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
00008 
00009 
00010 //  See http://www.boost.org for most recent version.
00011 
00012 // locate which std lib we are using and define LIBSMBIOS_STDLIB_CONFIG as needed:
00013 
00014 // we need to include a std lib header here in order to detect which
00015 // library is in use, use <utility> as it's about the smallest
00016 // of the std lib headers - do not rely on this header being included -
00017 // users can short-circuit this header if they know whose std lib
00018 // they are using.
00019 
00020 #include <utility>
00021 
00022 #if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
00023 // STLPort library; this _must_ come first, otherwise since
00024 // STLport typically sits on top of some other library, we
00025 // can end up detecting that first rather than STLport:
00026 #  define LIBSMBIOS_STDLIB_CONFIG "smbios/config/stdlib/stlport.hpp"
00027 
00028 #elif defined(__GLIBCPP__)
00029 // GNU libstdc++ 3
00030 #  define LIBSMBIOS_STDLIB_CONFIG "smbios/config/stdlib/libstdcpp3.hpp"
00031 
00032 #elif defined( __GNUC__ ) 
00033 // GNU libstdc++ < 3  ?? maybe there is a better test for this?
00034 #  define LIBSMBIOS_STDLIB_CONFIG "smbios/config/stdlib/libstdcpp2.hpp"
00035 
00036 #elif defined (LIBSMBIOS_ASSERT_CONFIG)
00037 // this must come last - generate an error if we don't
00038 // recognise the library:
00039 #  error "Unknown standard library - please configure and report the results to libsmbios maintainer."
00040 
00041 #endif
00042 
00043 
00044 

Generated on Wed Apr 11 16:25:10 2007 for SMBIOS Library by doxygen 1.3.5