Index: include/regex =================================================================== --- include/regex +++ include/regex @@ -976,7 +976,12 @@ typedef locale locale_type; typedef ctype_base::mask char_class_type; +#if defined(__GLIBC__) + static const char_class_type __regex_word = static_cast(_ISbit(15)); +#else static const char_class_type __regex_word = 0x80; +#endif + private: locale __loc_; const ctype* __ct_;