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
This commit is contained in:
parent
b407d45d83
commit
f2533a8798
@ -245,6 +245,10 @@ typedef __char32_t char32_t;
|
|||||||
#define _LIBCPP_HAS_NO_CONSTEXPR
|
#define _LIBCPP_HAS_NO_CONSTEXPR
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if __FreeBSD__
|
||||||
|
#define _LIBCPP_HAS_QUICK_EXIT
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (__has_feature(cxx_noexcept))
|
#if (__has_feature(cxx_noexcept))
|
||||||
# define _NOEXCEPT noexcept
|
# define _NOEXCEPT noexcept
|
||||||
# define _NOEXCEPT_(x) noexcept(x)
|
# define _NOEXCEPT_(x) noexcept(x)
|
||||||
|
@ -131,6 +131,10 @@ using ::mbtowc;
|
|||||||
using ::wctomb;
|
using ::wctomb;
|
||||||
using ::mbstowcs;
|
using ::mbstowcs;
|
||||||
using ::wcstombs;
|
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
|
// MSVC already has the correct prototype in <stdlib.h.h> #ifdef __cplusplus
|
||||||
#if !defined(_MSC_VER) && !defined(__sun__)
|
#if !defined(_MSC_VER) && !defined(__sun__)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user