From 3e3752e992be29039cdaa18aaa9bd49a327b73e0 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Wed, 3 Apr 2002 11:04:46 +0000 Subject: [PATCH] Added BOOST_NO_WREGEX guard. [SVN r13357] --- src/c_regex_traits_common.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/c_regex_traits_common.cpp b/src/c_regex_traits_common.cpp index 7ffb9adf..a44bca6a 100644 --- a/src/c_regex_traits_common.cpp +++ b/src/c_regex_traits_common.cpp @@ -220,6 +220,7 @@ BOOST_REGEX_DECL std::size_t BOOST_REGEX_CALL re_get_default_message(char* buf, return 1; } +#ifndef BOOST_NO_WREGEX const wchar_t combining_ranges[] = { 0x0300, 0x0361, 0x0483, 0x0486, 0x0903, 0x0903, @@ -548,7 +549,7 @@ BOOST_REGEX_DECL wchar_t wide_lower_case_map[] = { 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef, 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff, }; - +#endif // BOOST_NO_WREGEX } // namespace re_detail } // namespace boost