|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r52105 - trunk/boost/archive
From: DDeakins_at_[hidden]
Date: 2009-04-01 10:50:51
Author: davedeakins
Date: 2009-04-01 10:50:50 EDT (Wed, 01 Apr 2009)
New Revision: 52105
URL: http://svn.boost.org/trac/boost/changeset/52105
Log:
For STLport on WinCE, BOOST_NO_STDC_NAMESPACE can get defined if STLport is putting symbols in its own namespace. In the case of codecvt, however, this does not mean that codecvt is in the global namespace (it will be in STLport's namespace).
Text files modified:
trunk/boost/archive/codecvt_null.hpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/boost/archive/codecvt_null.hpp
==============================================================================
--- trunk/boost/archive/codecvt_null.hpp (original)
+++ trunk/boost/archive/codecvt_null.hpp 2009-04-01 10:50:50 EDT (Wed, 01 Apr 2009)
@@ -24,7 +24,11 @@
#include <boost/archive/detail/abi_prefix.hpp> // must be the last header
#if defined(BOOST_NO_STDC_NAMESPACE)
+// For STLport on WinCE, BOOST_NO_STDC_NAMESPACE can get defined if STLport is putting symbols in its own namespace.
+// In the case of codecvt, however, this does not mean that codecvt is in the global namespace (it will be in STLport's namespace)
+# if !defined(UNDER_CE) || (!defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION))
using ::codecvt;
+# endif
using ::mbstate_t;
using ::size_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