Index: stlport.hpp =================================================================== --- stlport.hpp (revision 70999) +++ stlport.hpp (working copy) @@ -9,7 +9,7 @@ // STLPort standard library config: -#if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) && defined(__cplusplus) +#if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) # include # if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) # error "This is not STLPort!" @@ -203,7 +203,7 @@ // // gcc-2.95.3/STLPort does not like the using declarations we use to get ADL with std::min/max // -#if defined(__GNUC__) && (__GNUC__ < 3) && defined(__cplusplus) +#if defined(__GNUC__) && (__GNUC__ < 3) # include // for std::min and std::max # define BOOST_USING_STD_MIN() ((void)0) # define BOOST_USING_STD_MAX() ((void)0)