diff options
author | Eric Fiselier <eric@efcs.ca> | 2016-05-07 02:30:21 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2016-05-07 02:30:21 +0000 |
commit | 27acf7585df295f71c72ab99e9a6bfcd0e008c23 (patch) | |
tree | e156747b113f42e03c7bddde1c07fab44009e125 /libcxx/include/exception | |
parent | 49bbbd8e7ad97fc5bbe510e3187a02ef7887fbe5 (diff) | |
download | bcm5719-llvm-27acf7585df295f71c72ab99e9a6bfcd0e008c23.tar.gz bcm5719-llvm-27acf7585df295f71c72ab99e9a6bfcd0e008c23.zip |
Fix typo it _LIBCPP_NO_EXCEPTIONS macro
llvm-svn: 268838
Diffstat (limited to 'libcxx/include/exception')
-rw-r--r-- | libcxx/include/exception | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/include/exception b/libcxx/include/exception index 537e4e3f7b6..186d379f08f 100644 --- a/libcxx/include/exception +++ b/libcxx/include/exception @@ -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()); |