_STLPORT_VERSION also indicates STLport

if no native wide functions, assume <cwchar> and <cwtype> are effectively
unavailable


[SVN r11209]
This commit is contained in:
Jens Maurer
2001-09-22 16:24:17 +00:00
parent c55a7a2479
commit 2dc2b800f9

View File

@ -7,9 +7,9 @@
// STLPort standard library config:
#if !defined(__SGI_STL_PORT)
#if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
# include <utility>
# if !defined(__SGI_STL_PORT)
# if !defined(__SGI_STL_PORT) && !defined(_STLPORT_VERSION)
# error "This is not STLPort!"
# endif
#endif
@ -91,6 +91,14 @@
# define BOOST_HAS_STLP_USE_FACET
#endif
//
// If STLport thinks there are no wide functions, <cwchar> etc. is not working.
//
#if defined(_STLP_NO_NATIVE_WIDE_FUNCTIONS)
# define BOOST_NO_CWCHAR
# define BOOST_NO_CWTYPE
#endif
#define BOOST_STDLIB "STLPort standard library version " BOOST_STRINGIZE(__SGI_STL_PORT)