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

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;