mirror of
https://github.com/boostorg/regex.git
synced 2025-07-17 06:12:10 +02:00
Only disable cpp_regex_traits<wchar_t> if we are in weird dual-wchar_t mode.
[SVN r21359]
This commit is contained in:
@ -21,7 +21,7 @@
|
||||
|
||||
#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")
|
||||
# define BOOST_NO_WREGEX
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user