Fix build break on Solaris introduced by r231940
Solaris apparently doesn't have iswblank_l. Thanks to C Bergstrom for the report! git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@232172 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
561d3322c2
commit
f77031db26
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user