Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50577 - trunk/boost/tr1/detail
From: john_at_[hidden]
Date: 2009-01-14 11:48:58


Author: johnmaddock
Date: 2009-01-14 11:48:58 EST (Wed, 14 Jan 2009)
New Revision: 50577
URL: http://svn.boost.org/trac/boost/changeset/50577

Log:
Try and fix Darwin regression.
Text files modified:
   trunk/boost/tr1/detail/config_all.hpp | 9 ++++++++-
   1 files changed, 8 insertions(+), 1 deletions(-)

Modified: trunk/boost/tr1/detail/config_all.hpp
==============================================================================
--- trunk/boost/tr1/detail/config_all.hpp (original)
+++ trunk/boost/tr1/detail/config_all.hpp 2009-01-14 11:48:58 EST (Wed, 14 Jan 2009)
@@ -81,11 +81,18 @@
 # define BOOST_TR1_DISABLE_INCLUDE_NEXT
 # endif
 # else
-# if ( ((__GNUC__ == 4 ) || (__GNUC_MINOR__ >= 3)) && defined(__APPLE_CC__))
+# if ( ((__GNUC__ == 3 ) && (__GNUC_MINOR__ >= 3)) && defined(__APPLE_CC__))
 # define BOOST_TR1_STD_HEADER(name) <../c++/name>
 # ifndef BOOST_TR1_DISABLE_INCLUDE_NEXT
 # define BOOST_TR1_DISABLE_INCLUDE_NEXT
 # endif
+# elif (__GLIBCXX__ == 20050421)
+ // Some Darwin tools fix libstdc++ at 4.0.0 irrespective of the actual
+ // compiler version:
+# define BOOST_TR1_STD_HEADER(name) <../4.0.0/name>
+# ifndef BOOST_TR1_DISABLE_INCLUDE_NEXT
+# define BOOST_TR1_DISABLE_INCLUDE_NEXT
+# endif
          /*
           * Before version 3.4.0 the 0 patch level was not part of the include path:
           */


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