diff --git a/include/boost/regex/config.hpp b/include/boost/regex/config.hpp index a4717e0b..8e736227 100644 --- a/include/boost/regex/config.hpp +++ b/include/boost/regex/config.hpp @@ -191,7 +191,7 @@ using std::distance; ****************************************************************************/ #ifdef __cplusplus -#if defined(BOOST_MSVC) && (BOOST_MSVC >= 1300) && !defined(BOOST_REGEX_NO_LIB) +#if defined(BOOST_MSVC) && (BOOST_MSVC >= 1300) && !defined(BOOST_REGEX_NO_LIB) && !defined(BOOST_ALL_NO_LIB) # define BOOST_REGEX_HAS_SHORT_WCHAR_T namespace boost{ typedef __wchar_t regex_wchar_type; } #else