Index: boost/config/stdlib/libstdcpp3.hpp =================================================================== --- boost/config/stdlib/libstdcpp3.hpp (revision 52063) +++ boost/config/stdlib/libstdcpp3.hpp (working copy) @@ -9,6 +9,10 @@ // config for libstdc++ v3 // not much to go in here: +#if !defined(__GLIBCXX__) && !defined(__GLIBCPP__) +#include +#endif + #ifdef __GLIBCXX__ #define BOOST_STDLIB "GNU libstdc++ version " BOOST_STRINGIZE(__GLIBCXX__) #else Index: boost/config/select_stdlib_config.hpp =================================================================== --- boost/config/select_stdlib_config.hpp (revision 52240) +++ boost/config/select_stdlib_config.hpp (working copy) @@ -33,7 +33,7 @@ // Rogue Wave library: # define BOOST_STDLIB_CONFIG "boost/config/stdlib/roguewave.hpp" -#elif defined(__GLIBCPP__) || defined(__GLIBCXX__) +#elif defined(__GLIBCPP__) || defined(__GLIBCXX__) || defined(_GLIBCXX_CSTDDEF) // GNU libstdc++ 3 # define BOOST_STDLIB_CONFIG "boost/config/stdlib/libstdcpp3.hpp"