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:
Jonathan Roelofs 2015-03-13 15:09:42 +00:00
parent 561d3322c2
commit f77031db26

View File

@ -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;