| commit | 6b88dae0461130e5731e27aa89aeedda3008310b | [log] [tgz] |
|---|---|---|
| author | Eric Fiselier <eric@efcs.ca> | Thu May 04 01:06:54 2017 +0000 |
| committer | Eric Fiselier <eric@efcs.ca> | Thu May 04 01:06:54 2017 +0000 |
| tree | 6e0787f02f9aa9ec319008cd0e77ea9fd6f19910 | |
| parent | d13863008b380aae3be60fd8b6e9d36e913b027e [diff] [blame] |
Fix macro redefinition warnings for _LIBCPP_NO_RTTI llvm-svn: 302099
diff --git a/libcxx/include/__config b/libcxx/include/__config index ee46860..598015c 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config
@@ -314,7 +314,7 @@ #define _LIBCPP_NO_EXCEPTIONS #endif -#if !(__has_feature(cxx_rtti)) +#if !(__has_feature(cxx_rtti)) && !defined(_LIBCPP_NO_RTTI) #define _LIBCPP_NO_RTTI #endif