Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52106 - trunk/boost/regex/config
From: DDeakins_at_[hidden]
Date: 2009-04-01 10:56:27


Author: davedeakins
Date: 2009-04-01 10:56:27 EDT (Wed, 01 Apr 2009)
New Revision: 52106
URL: http://svn.boost.org/trac/boost/changeset/52106

Log:
Windows CE does not define the wcscoll function from the CRT so, for WinCE, don't try to pull wcscoll from the global namespace into the std namespace.
Text files modified:
   trunk/boost/regex/config/cwchar.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/regex/config/cwchar.hpp
==============================================================================
--- trunk/boost/regex/config/cwchar.hpp (original)
+++ trunk/boost/regex/config/cwchar.hpp 2009-04-01 10:56:27 EDT (Wed, 01 Apr 2009)
@@ -168,7 +168,7 @@
 inline int (wcscoll)(const wchar_t *p1, const wchar_t *p2)
 { return wcscoll(p1,p2); }
 #undef wcscoll
-#elif defined(BOOST_NO_STDC_NAMESPACE)
+#elif defined(BOOST_NO_STDC_NAMESPACE) && !defined(UNDER_CE)
 using ::wcscoll;
 #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