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:
@@ -314,7 +314,7 @@ typedef __char32_t char32_t;
|
||||
#define _LIBCPP_NO_EXCEPTIONS
|
||||
#endif
|
||||
|
||||
#if !(__has_feature(cxx_rtti))
|
||||
#if !(__has_feature(cxx_rtti)) && !defined(_LIBCPP_NO_RTTI)
|
||||
#define _LIBCPP_NO_RTTI
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user