regex: added explicit #error clause to reduce error messages when wide character support is not available.

[SVN r9227]
This commit is contained in:
John Maddock
2001-02-16 12:47:30 +00:00
parent 25d57dbe3e
commit 50610bf111

View File

@ -28,6 +28,10 @@
#include <boost/regex.hpp>
#ifdef BOOST_RE_NO_WCSTRING
#error The regex library is not configured for wide character support
#endif
//
// instantiate templates used:
//
@ -194,3 +198,4 @@ template test_string_type regex_merge(const test_string_type&,
#include "libs/regex/src/wide_posix_api.cpp"