forked from boostorg/regex
Change cygwin to use C locale - std::ctype yields incorrect results for xdigit class on this platform.
[SVN r64628]
This commit is contained in:
@ -255,6 +255,10 @@
|
|||||||
# define BOOST_REGEX_USE_CPP_LOCALE
|
# define BOOST_REGEX_USE_CPP_LOCALE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__CYGWIN__)
|
||||||
|
# define BOOST_REGEX_USE_C_LOCALE
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Win32 defaults to native Win32 locale: */
|
/* Win32 defaults to native Win32 locale: */
|
||||||
#if defined(_WIN32) && !defined(BOOST_REGEX_USE_WIN32_LOCALE) && !defined(BOOST_REGEX_USE_C_LOCALE) && !defined(BOOST_REGEX_USE_CPP_LOCALE) && !defined(BOOST_REGEX_NO_W32)
|
#if defined(_WIN32) && !defined(BOOST_REGEX_USE_WIN32_LOCALE) && !defined(BOOST_REGEX_USE_C_LOCALE) && !defined(BOOST_REGEX_USE_CPP_LOCALE) && !defined(BOOST_REGEX_NO_W32)
|
||||||
# define BOOST_REGEX_USE_WIN32_LOCALE
|
# define BOOST_REGEX_USE_WIN32_LOCALE
|
||||||
|
Reference in New Issue
Block a user