mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 03:56:16 +08:00
Fix build break on Solaris introduced by r231940
Solaris apparently doesn't have iswblank_l. Thanks to C Bergstrom for the report! llvm-svn: 232172
This commit is contained in:
@@ -1312,8 +1312,10 @@ ctype_byname<wchar_t>::do_is(const char_type* low, const char_type* high, mask*
|
||||
if (iswxdigit_l(ch, __l))
|
||||
*vec |= xdigit;
|
||||
#endif
|
||||
#if !defined(__sun__)
|
||||
if (iswblank_l(ch, __l))
|
||||
*vec |= blank;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
return low;
|
||||
|
||||
Reference in New Issue
Block a user