Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r71036 - trunk/boost/config/stdlib
From: john_at_[hidden]
Date: 2011-04-06 13:21:45


Author: johnmaddock
Date: 2011-04-06 13:21:44 EDT (Wed, 06 Apr 2011)
New Revision: 71036
URL: http://svn.boost.org/trac/boost/changeset/71036

Log:
Revert unnecessary changes.
Text files modified:
   trunk/boost/config/stdlib/dinkumware.hpp | 2 --
   trunk/boost/config/stdlib/libcpp.hpp | 2 +-
   trunk/boost/config/stdlib/msl.hpp | 2 --
   trunk/boost/config/stdlib/sgi.hpp | 2 +-
   trunk/boost/config/stdlib/stlport.hpp | 4 ++--
   5 files changed, 4 insertions(+), 8 deletions(-)

Modified: trunk/boost/config/stdlib/dinkumware.hpp
==============================================================================
--- trunk/boost/config/stdlib/dinkumware.hpp (original)
+++ trunk/boost/config/stdlib/dinkumware.hpp 2011-04-06 13:21:44 EDT (Wed, 06 Apr 2011)
@@ -86,12 +86,10 @@
 # define BOOST_NO_STD_LOCALE
 #endif
 
-#ifdef __cplusplus
 #include <typeinfo>
 #if !_HAS_EXCEPTIONS
 # define BOOST_NO_STD_TYPEINFO
 #endif
-#endif
 
 // C++0x headers implemented in 520 (as shipped by Microsoft)
 //

Modified: trunk/boost/config/stdlib/libcpp.hpp
==============================================================================
--- trunk/boost/config/stdlib/libcpp.hpp (original)
+++ trunk/boost/config/stdlib/libcpp.hpp 2011-04-06 13:21:44 EDT (Wed, 06 Apr 2011)
@@ -8,7 +8,7 @@
 // config for libc++
 // Might need more in here later.
 
-#if !defined(_LIBCPP_VERSION) && defined(__cplusplus)
+#if !defined(_LIBCPP_VERSION)
 # include <ciso646>
 # if !defined(_LIBCPP_VERSION)
 # error "This is not libc++!"

Modified: trunk/boost/config/stdlib/msl.hpp
==============================================================================
--- trunk/boost/config/stdlib/msl.hpp (original)
+++ trunk/boost/config/stdlib/msl.hpp 2011-04-06 13:21:44 EDT (Wed, 06 Apr 2011)
@@ -26,9 +26,7 @@
 #endif
 
 // check C lib version for <stdint.h>
-#ifdef __cplusplus
 #include <cstddef>
-#endif
 
 #if defined(__MSL__) && (__MSL__ >= 0x5000)
 # define BOOST_HAS_STDINT_H

Modified: trunk/boost/config/stdlib/sgi.hpp
==============================================================================
--- trunk/boost/config/stdlib/sgi.hpp (original)
+++ trunk/boost/config/stdlib/sgi.hpp 2011-04-06 13:21:44 EDT (Wed, 06 Apr 2011)
@@ -91,7 +91,7 @@
 //
 // 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>
 # if defined(__BASTRING__)
 # define BOOST_NO_LIMITS

Modified: trunk/boost/config/stdlib/stlport.hpp
==============================================================================
--- trunk/boost/config/stdlib/stlport.hpp (original)
+++ trunk/boost/config/stdlib/stlport.hpp 2011-04-06 13:21:44 EDT (Wed, 06 Apr 2011)
@@ -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 <cstddef>
 # 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 <algorithm> // for std::min and std::max
 # define BOOST_USING_STD_MIN() ((void)0)
 # define BOOST_USING_STD_MAX() ((void)0)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk