Fix macro redefinition warnings for _LIBCPP_NO_RTTI

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@302099 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2017-05-04 01:06:54 +00:00
parent 621612c845
commit ca57b1475e

View File

@@ -314,7 +314,7 @@ typedef __char32_t char32_t;
#define _LIBCPP_NO_EXCEPTIONS #define _LIBCPP_NO_EXCEPTIONS
#endif #endif
#if !(__has_feature(cxx_rtti)) #if !(__has_feature(cxx_rtti)) && !defined(_LIBCPP_NO_RTTI)
#define _LIBCPP_NO_RTTI #define _LIBCPP_NO_RTTI
#endif #endif