summaryrefslogtreecommitdiffstats
path: root/include/__config
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2012-10-13 18:03:53 +0000
committerHoward Hinnant <hhinnant@apple.com>2012-10-13 18:03:53 +0000
commit999fc97ef22969aa73f06bf9aa7dfee4f0eef219 (patch)
tree3b35e6a2c90affd8f6a4f03277517f5a964d2d22 /include/__config
parent1dc6f7ab975323ba3aca9bcfc884a15a7aac7834 (diff)
downloadexternal_libcxx-999fc97ef22969aa73f06bf9aa7dfee4f0eef219.tar.gz
external_libcxx-999fc97ef22969aa73f06bf9aa7dfee4f0eef219.tar.bz2
external_libcxx-999fc97ef22969aa73f06bf9aa7dfee4f0eef219.zip
Dimitry Andric: FreeBSD only: Add the C11 aligned_alloc to <cstdlib> and adjust the inclusion of quick_exit.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@165882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/__config')
-rw-r--r--include/__config3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/__config b/include/__config
index 189140f07..75b2206f2 100644
--- a/include/__config
+++ b/include/__config
@@ -252,8 +252,9 @@ typedef __char32_t char32_t;
#define _LIBCPP_HAS_NO_CONSTEXPR
#endif
-#if __FreeBSD__
+#if __FreeBSD__ && (__ISO_C_VISIBLE >= 2011 || __cplusplus >= 201103L)
#define _LIBCPP_HAS_QUICK_EXIT
+#define _LIBCPP_HAS_C11_FEATURES
#endif
#if (__has_feature(cxx_noexcept))