Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r75812 - trunk/boost
From: antoshkka_at_[hidden]
Date: 2011-12-05 11:17:11


Author: apolukhin
Date: 2011-12-05 11:17:09 EST (Mon, 05 Dec 2011)
New Revision: 75812
URL: http://svn.boost.org/trac/boost/changeset/75812

Log:
Fixes #6159 (compilation on platforms without cwchar)
Text files modified:
   trunk/boost/lexical_cast.hpp | 7 ++++---
   1 files changed, 4 insertions(+), 3 deletions(-)

Modified: trunk/boost/lexical_cast.hpp
==============================================================================
--- trunk/boost/lexical_cast.hpp (original)
+++ trunk/boost/lexical_cast.hpp 2011-12-05 11:17:09 EST (Mon, 05 Dec 2011)
@@ -17,7 +17,7 @@
 // enhanced with contributions from Terje Slettebo,
 // with additional fixes and suggestions from Gennaro Prota,
 // Beman Dawes, Dave Abrahams, Daryle Walker, Peter Dimov,
-// Alexander Nasonov, Antony Polukhin and other Boosters
+// Alexander Nasonov, Antony Polukhin, Justin Viiret and other Boosters
 // when: November 2000, March 2003, June 2005, June 2006, March 2011
 
 #include <climits>
@@ -47,8 +47,9 @@
 #include <boost/detail/lcast_precision.hpp>
 #include <boost/detail/workaround.hpp>
 #include <boost/container/container_fwd.hpp>
-#include <cwchar>
-
+#ifndef BOOST_NO_CWCHAR
+# include <cwchar>
+#endif
 
 #ifndef BOOST_NO_STD_LOCALE
 # include <locale>


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