mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 13:46:37 +00:00
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…
x
Reference in New Issue
Block a user