Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72521 - trunk/libs/filesystem/v3/src
From: bdawes_at_[hidden]
Date: 2011-06-09 15:43:45


Author: bemandawes
Date: 2011-06-09 15:43:44 EDT (Thu, 09 Jun 2011)
New Revision: 72521
URL: http://svn.boost.org/trac/boost/changeset/72521

Log:
Fix #5048, for HP-UX
Text files modified:
   trunk/libs/filesystem/v3/src/utf8_codecvt_facet.cpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/libs/filesystem/v3/src/utf8_codecvt_facet.cpp
==============================================================================
--- trunk/libs/filesystem/v3/src/utf8_codecvt_facet.cpp (original)
+++ trunk/libs/filesystem/v3/src/utf8_codecvt_facet.cpp 2011-06-09 15:43:44 EDT (Thu, 09 Jun 2011)
@@ -3,6 +3,10 @@
 // (See accompanying file LICENSE_1_0.txt
 // or copy at http://www.boost.org/LICENSE_1_0.txt)
 
+// For HP-UX, request that WCHAR_MAX and WCHAR_MIN be defined as macros,
+// not casts. See ticket 5048
+#define _INCLUDE_STDCSOURCE_199901
+
 #ifndef BOOST_SYSTEM_NO_DEPRECATED
 # define BOOST_SYSTEM_NO_DEPRECATED
 #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