Fix typo it _LIBCPP_NO_EXCEPTIONS macro

llvm-svn: 268838
This commit is contained in:
Eric Fiselier 2016-05-07 02:30:21 +00:00
parent 49bbbd8e7a
commit 27acf7585d
1 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ template <class E> void rethrow_if_nested(const E& e);
#include <__config>
#include <cstddef>
#include <type_traits>
#if defined(_LIBCPP_HAS_NO_EXCEPTIONS)
#if defined(_LIBCPP_NO_EXCEPTIONS)
#include <cstdio>
#include <cstdlib>
#endif
@ -260,7 +260,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD
template <class _Exception>
_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());