Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56160 - trunk/boost
From: Alexander.Nasonov_at_[hidden]
Date: 2009-09-12 18:22:29


Author: nasonov
Date: 2009-09-12 18:22:28 EDT (Sat, 12 Sep 2009)
New Revision: 56160
URL: http://svn.boost.org/trac/boost/changeset/56160

Log:
Fix #1847 (Can't compile without <locale> header, boost::lexical_cast problem).

Text files modified:
   trunk/boost/lexical_cast.hpp | 4 +---
   1 files changed, 1 insertions(+), 3 deletions(-)

Modified: trunk/boost/lexical_cast.hpp
==============================================================================
--- trunk/boost/lexical_cast.hpp (original)
+++ trunk/boost/lexical_cast.hpp 2009-09-12 18:22:28 EDT (Sat, 12 Sep 2009)
@@ -41,9 +41,7 @@
 #include <sstream>
 #endif
 
-#if defined(BOOST_NO_STRINGSTREAM) || \
- defined(BOOST_NO_STD_WSTRING) || \
- defined(BOOST_NO_STD_LOCALE)
+#if defined(BOOST_NO_STRINGSTREAM) || defined(BOOST_NO_STD_WSTRING)
 #define BOOST_LCAST_NO_WCHAR_T
 #endif
 


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