summaryrefslogtreecommitdiffstats
path: root/libcxx/include/__config
diff options
context:
space:
mode:
authorEd Schouten <ed@80386.nl>2015-03-10 09:26:38 +0000
committerEd Schouten <ed@80386.nl>2015-03-10 09:26:38 +0000
commit510b6ab07c3621d519b33026ee1926b864a1ded6 (patch)
treefeb8f6a7c35b030c361b3b4072148aede4ce6ed8 /libcxx/include/__config
parent94e569e0e66e361dbffcdd8909670b7bc92922f2 (diff)
downloadbcm5719-llvm-510b6ab07c3621d519b33026ee1926b864a1ded6.tar.gz
bcm5719-llvm-510b6ab07c3621d519b33026ee1926b864a1ded6.zip
Enable _LIBCPP_LOCALE__L_EXTENSIONS on CloudABI.
CloudABI provides the _l() functions that are part of POSIX.1-2008, but also the extensions that are available on systems like OS X and *BSD (scanf_l, printf_l, etc). llvm-svn: 231777
Diffstat (limited to 'libcxx/include/__config')
-rw-r--r--libcxx/include/__config3
1 files changed, 2 insertions, 1 deletions
diff --git a/libcxx/include/__config b/libcxx/include/__config
index 00dfa9fc8a4..c1055181203 100644
--- a/libcxx/include/__config
+++ b/libcxx/include/__config
@@ -642,7 +642,8 @@ template <unsigned> struct __static_assert_check {};
#define _LIBCPP_NONUNIQUE_RTTI_BIT (1ULL << 63)
#endif
-#if defined(__APPLE__) || defined(__FreeBSD__) || defined(_WIN32) || defined(__sun__) || defined(__NetBSD__)
+#if defined(__APPLE__) || defined(__FreeBSD__) || defined(_WIN32) || \
+ defined(__sun__) || defined(__NetBSD__) || defined(__CloudABI__)
#define _LIBCPP_LOCALE__L_EXTENSIONS 1
#endif
OpenPOWER on IntegriCloud