mirror of
https://github.com/boostorg/regex.git
synced 2025-07-18 06:42:08 +02:00
Refined building without /Zc:wchar_t on msvc 7 and above
[SVN r21147]
This commit is contained in:
@ -21,6 +21,11 @@
|
||||
|
||||
#include <boost/regex/config.hpp>
|
||||
|
||||
#if defined(BOOST_MSVC) && (BOOST_MSVC >= 1300) && !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
|
||||
|
||||
#if !defined(BOOST_NO_STD_LOCALE)
|
||||
|
||||
# ifdef BOOST_MSVC
|
||||
|
Reference in New Issue
Block a user