Ticket #3763: boost_regex_v4.diff

File boost_regex_v4.diff, 1.0 KB (added by Yuriy A. Krasnoschek <aka.rider@…>, 13 years ago)
  • perl_matcher.hpp

     
    6161{
    6262   return ((c >= (1 << CHAR_BIT)) ? true : map[c] & mask);
    6363}
    64 #if !defined(__hpux) // WCHAR_MIN not usable in pp-directives.
     64#if !defined(__hpux) && !defined(__WINSCW__) // WCHAR_MIN not usable in pp-directives.
    6565#if defined(WCHAR_MIN) && (WCHAR_MIN == 0) && !defined(BOOST_NO_INTRINSIC_WCHAR_T)
    6666inline bool can_start(wchar_t c, const unsigned char* map, unsigned char mask)
    6767{
  • regex_traits_defaults.hpp

     
    8484{
    8585   return false;
    8686}
    87 #ifndef __hpux // can't use WCHAR_MAX/MIN in pp-directives
     87#if !defined(__hpux) && !defined(__WINSCW__) // can't use WCHAR_MAX/MIN in pp-directives
    8888#ifdef _MSC_VER
    8989template<>
    9090inline bool is_combining<wchar_t>(wchar_t c)