Only disable cpp_regex_traits<wchar_t> if we are in weird dual-wchar_t mode.

[SVN r21359]
This commit is contained in:
John Maddock
2003-12-20 13:34:34 +00:00
parent 16d6b87b1b
commit 65f6604b24

View File

@ -21,7 +21,7 @@
#include <boost/regex/config.hpp> #include <boost/regex/config.hpp>
#if defined(BOOST_MSVC) && (BOOST_MSVC >= 1300) && !defined(_NATIVE_WCHAR_T_DEFINED) #if defined(BOOST_REGEX_HAS_SHORT_WCHAR_T) && !defined(_NATIVE_WCHAR_T_DEFINED)
# pragma message ("disabling support for class cpp_regex_traits<wchar_t> - rebuild with /Zc:wchar_t if you really need this") # pragma message ("disabling support for class cpp_regex_traits<wchar_t> - rebuild with /Zc:wchar_t if you really need this")
# define BOOST_NO_WREGEX # define BOOST_NO_WREGEX
#endif #endif