Revert unnecessary changes.

[SVN r71036]
This commit is contained in:
John Maddock
2011-04-06 17:21:44 +00:00
parent 371171ef97
commit 4c07c44225
5 changed files with 4 additions and 8 deletions

View File

@@ -86,12 +86,10 @@
# define BOOST_NO_STD_LOCALE # define BOOST_NO_STD_LOCALE
#endif #endif
#ifdef __cplusplus
#include <typeinfo> #include <typeinfo>
#if !_HAS_EXCEPTIONS #if !_HAS_EXCEPTIONS
# define BOOST_NO_STD_TYPEINFO # define BOOST_NO_STD_TYPEINFO
#endif #endif
#endif
// C++0x headers implemented in 520 (as shipped by Microsoft) // C++0x headers implemented in 520 (as shipped by Microsoft)
// //

View File

@@ -8,7 +8,7 @@
// config for libc++ // config for libc++
// Might need more in here later. // Might need more in here later.
#if !defined(_LIBCPP_VERSION) && defined(__cplusplus) #if !defined(_LIBCPP_VERSION)
# include <ciso646> # include <ciso646>
# if !defined(_LIBCPP_VERSION) # if !defined(_LIBCPP_VERSION)
# error "This is not libc++!" # error "This is not libc++!"

View File

@@ -26,9 +26,7 @@
#endif #endif
// check C lib version for <stdint.h> // check C lib version for <stdint.h>
#ifdef __cplusplus
#include <cstddef> #include <cstddef>
#endif
#if defined(__MSL__) && (__MSL__ >= 0x5000) #if defined(__MSL__) && (__MSL__ >= 0x5000)
# define BOOST_HAS_STDINT_H # define BOOST_HAS_STDINT_H

View File

@@ -91,7 +91,7 @@
// //
// If this is GNU libstdc++2, then no <limits> and no std::wstring: // If this is GNU libstdc++2, then no <limits> and no std::wstring:
// //
#if (defined(__GNUC__) && (__GNUC__ < 3) && defined(__cplusplus)) #if (defined(__GNUC__) && (__GNUC__ < 3))
# include <string> # include <string>
# if defined(__BASTRING__) # if defined(__BASTRING__)
# define BOOST_NO_LIMITS # define BOOST_NO_LIMITS

View File

@@ -9,7 +9,7 @@
// STLPort standard library config: // STLPort standard library config:
#if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) && defined(__cplusplus) #if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
# include <cstddef> # include <cstddef>
# if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION) # if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
# error "This is not STLPort!" # error "This is not STLPort!"
@@ -203,7 +203,7 @@ namespace std{ using _STLP_VENDOR_CSTD::strcmp; using _STLP_VENDOR_CSTD::strcpy;
// //
// gcc-2.95.3/STLPort does not like the using declarations we use to get ADL with std::min/max // 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 <algorithm> // for std::min and std::max # include <algorithm> // for std::min and std::max
# define BOOST_USING_STD_MIN() ((void)0) # define BOOST_USING_STD_MIN() ((void)0)
# define BOOST_USING_STD_MAX() ((void)0) # define BOOST_USING_STD_MAX() ((void)0)