summaryrefslogtreecommitdiffstats
path: root/include/cstdlib
diff options
context:
space:
mode:
authorDavid Chisnall <csdavec@swan.ac.uk>2012-03-14 14:10:37 +0000
committerDavid Chisnall <csdavec@swan.ac.uk>2012-03-14 14:10:37 +0000
commitf2533a8798b0e48c1f811eeffaa81d90ab3aaed9 (patch)
tree526c70db6a1544a177b99f9a5ec9c156b4337553 /include/cstdlib
parentb407d45d834821fa3d8505d41c38efd160ee6233 (diff)
downloadexternal_libcxx-f2533a8798b0e48c1f811eeffaa81d90ab3aaed9.tar.gz
external_libcxx-f2533a8798b0e48c1f811eeffaa81d90ab3aaed9.tar.bz2
external_libcxx-f2533a8798b0e48c1f811eeffaa81d90ab3aaed9.zip
Make sure [at_]quick_exit is in std::
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@152717 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/cstdlib')
-rw-r--r--include/cstdlib4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/cstdlib b/include/cstdlib
index 1158db2c0..a5c78e982 100644
--- a/include/cstdlib
+++ b/include/cstdlib
@@ -131,6 +131,10 @@ using ::mbtowc;
using ::wctomb;
using ::mbstowcs;
using ::wcstombs;
+#ifdef _LIBCPP_HAS_QUICK_EXIT
+using ::at_quick_exit;
+using ::quick_exit;
+#endif
// MSVC already has the correct prototype in <stdlib.h.h> #ifdef __cplusplus
#if !defined(_MSC_VER) && !defined(__sun__)