From 96e4c23bf1958a666cecdac960d52faab521e6dc Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Sat, 7 May 2016 02:30:21 +0000 Subject: [PATCH] Fix typo it _LIBCPP_NO_EXCEPTIONS macro git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@268838 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/exception | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/exception b/include/exception index 537e4e3f7..186d379f0 100644 --- a/include/exception +++ b/include/exception @@ -80,7 +80,7 @@ template void rethrow_if_nested(const E& e); #include <__config> #include #include -#if defined(_LIBCPP_HAS_NO_EXCEPTIONS) +#if defined(_LIBCPP_NO_EXCEPTIONS) #include #include #endif @@ -260,7 +260,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD template _LIBCPP_INLINE_VISIBILITY inline void __libcpp_throw(_Exception const& __e) { -#ifndef _LIBCPP_HAS_NO_EXCEPTIONS +#ifndef _LIBCPP_NO_EXCEPTIONS throw __e; #else _VSTD::fprintf(stderr, "%s\n", __e.what());