From cef97f9cc9aa3e5876abda5690ddbbb8889164cd Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Wed, 22 Jun 2016 05:40:17 +0000 Subject: [PATCH] Use correct Clang feature names. I got them wrong in the previous commit git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@273384 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/support/test_macros.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/support/test_macros.h b/test/support/test_macros.h index 667a243a5..10b550066 100644 --- a/test/support/test_macros.h +++ b/test/support/test_macros.h @@ -71,12 +71,12 @@ #define TEST_NOEXCEPT #endif -#if !TEST_HAS_FEATURE(cpp_rtti) && !defined(__cpp_rtti) \ +#if !TEST_HAS_FEATURE(cxx_rtti) && !defined(__cpp_rtti) \ && !defined(__GXX_RTTI) #define TEST_HAS_NO_RTTI #endif -#if !TEST_HAS_FEATURE(cpp_exceptions) && !defined(__cpp_exceptions) \ +#if !TEST_HAS_FEATURE(cxx_exceptions) && !defined(__cpp_exceptions) \ && !defined(__EXCEPTIONS) #define TEST_HAS_NO_EXCEPTIONS #endif