From 65f6604b241923e322e716e53cd896f7f4c7d0ed Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 20 Dec 2003 13:34:34 +0000 Subject: [PATCH] Only disable cpp_regex_traits if we are in weird dual-wchar_t mode. [SVN r21359] --- src/cpp_regex_traits.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpp_regex_traits.cpp b/src/cpp_regex_traits.cpp index 89ae5d03..7bd7bf09 100644 --- a/src/cpp_regex_traits.cpp +++ b/src/cpp_regex_traits.cpp @@ -21,7 +21,7 @@ #include -#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 - rebuild with /Zc:wchar_t if you really need this") # define BOOST_NO_WREGEX #endif