Modified behaviour of BOOST_NO_CWCHAR definition

[SVN r11352]
This commit is contained in:
John Maddock
2001-10-08 11:29:42 +00:00
parent 41747deb59
commit d8e8bfc667

View File

@ -92,9 +92,11 @@
#endif
//
// If STLport thinks there are no wide functions, <cwchar> etc. is not working.
// If STLport thinks there are no wide functions, <cwchar> etc. is not working; but
// only if BOOST_NO_STDC_NAMESPACE is not defined (if it is then we do the import
// into std:: ourselves).
//
#if defined(_STLP_NO_NATIVE_WIDE_FUNCTIONS)
#if defined(_STLP_NO_NATIVE_WIDE_FUNCTIONS) && !defined(BOOST_NO_STDC_NAMESPACE)
# define BOOST_NO_CWCHAR
# define BOOST_NO_CWTYPE
#endif
@ -103,3 +105,4 @@
#define BOOST_STDLIB "STLPort standard library version " BOOST_STRINGIZE(__SGI_STL_PORT)