Ticket #3422: codecvt_null.hpp.patch

File codecvt_null.hpp.patch, 817 bytes (added by Andrey Semashev, 13 years ago)

The fix for archives/codecvt_null.hpp

  • .hpp

    old new  
    2424#include <boost/archive/detail/abi_prefix.hpp> // must be the last header
    2525
    2626#if defined(BOOST_NO_STDC_NAMESPACE)
     27namespace std
     28{
    2729// For STLport on WinCE, BOOST_NO_STDC_NAMESPACE can get defined if STLport is putting symbols in its own namespace.
    2830// In the case of codecvt, however, this does not mean that codecvt is in the global namespace (it will be in STLport's namespace)
    29 #  if !defined(UNDER_CE) || (!defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION))
     31#  if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
    3032    using ::codecvt;
    3133#  endif
    3234    using ::mbstate_t;
    3335    using ::size_t;
     36} // namespace std
    3437#endif
    3538
    3639namespace boost {