summaryrefslogtreecommitdiffstats
path: root/libcxx/include/locale
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/include/locale')
-rw-r--r--libcxx/include/locale2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/locale b/libcxx/include/locale
index 4a65eb6bec8..778d6c6f902 100644
--- a/libcxx/include/locale
+++ b/libcxx/include/locale
@@ -192,8 +192,10 @@ template <class charT> class messages_byname;
_LIBCPP_BEGIN_NAMESPACE_STD
+#ifndef _LIBCPP_STABLE_APPLE_ABI
// Get the C locale object
locale_t __cloc();
+#endif
// OSX has nice foo_l() functions that let you turn off use of the global
// locale. Linux, not so much. The following functions avoid the locale when
OpenPOWER on IntegriCloud