Fix macro redefinition warnings for _LIBCPP_NO_RTTI

llvm-svn: 302099
This commit is contained in:
Eric Fiselier 2017-05-04 01:06:54 +00:00
parent d13863008b
commit 6b88dae046
1 changed files with 1 additions and 1 deletions

View File

@ -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