|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52254 - branches/release/boost/config
From: DDeakins_at_[hidden]
Date: 2009-04-08 10:49:27
Author: davedeakins
Date: 2009-04-08 10:49:26 EDT (Wed, 08 Apr 2009)
New Revision: 52254
URL: http://svn.boost.org/trac/boost/changeset/52254
Log:
Reverted change in boost/config/select_stdlib_config.hpp change in rev 52221. Some gcc and Borland stdlibs don't pick up the C++ macros needed for stdlib detection from <cstddef>. See ticket 2924.
Text files modified:
branches/release/boost/config/select_stdlib_config.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: branches/release/boost/config/select_stdlib_config.hpp
==============================================================================
--- branches/release/boost/config/select_stdlib_config.hpp (original)
+++ branches/release/boost/config/select_stdlib_config.hpp 2009-04-08 10:49:26 EDT (Wed, 08 Apr 2009)
@@ -12,12 +12,12 @@
// locate which std lib we are using and define BOOST_STDLIB_CONFIG as needed:
// we need to include a std lib header here in order to detect which
-// library is in use, use <cstddef> as it's one of the smaller std lib headers
-// - do not rely on this header being included -
+// library is in use, use <utility> as it's about the smallest
+// of the std lib headers - do not rely on this header being included -
// users can short-circuit this header if they know whose std lib
// they are using.
-#include <cstddef>
+#include <boost/config/no_tr1/utility.hpp>
#if defined(__SGI_STL_PORT) || defined(_STLPORT_VERSION)
// STLPort library; this _must_ come first, otherwise since
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