summaryrefslogtreecommitdiffstats
path: root/libcxx
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx')
-rw-r--r--libcxx/src/locale.cpp2
1 files changed, 2 insertions, 0 deletions
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<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;
OpenPOWER on IntegriCloud