Fix macro redefinition warnings for _LIBCPP_NO_RTTI
llvm-svn: 302099
This commit is contained in:
parent
d13863008b
commit
6b88dae046
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue