From f11625d131f90ec605773040f797d3b1596b1f01 Mon Sep 17 00:00:00 2001 From: Jonathan Roelofs Date: Fri, 13 Mar 2015 15:09:42 +0000 Subject: 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 --- libcxx/src/locale.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libcxx/src') diff --git a/libcxx/src/locale.cpp b/libcxx/src/locale.cpp index 797bd057078..54a24e68c57 100644 --- a/libcxx/src/locale.cpp +++ b/libcxx/src/locale.cpp @@ -1312,8 +1312,10 @@ ctype_byname::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; -- cgit v1.2.3