diff --git a/libcxxabi/src/demangle/ItaniumDemangle.h b/libcxxabi/src/demangle/ItaniumDemangle.h index ecc9b1aeb5c6f8..88de234a6e0b92 100644 --- a/libcxxabi/src/demangle/ItaniumDemangle.h +++ b/libcxxabi/src/demangle/ItaniumDemangle.h @@ -19,7 +19,6 @@ #include "DemangleConfig.h" #include "StringViewExtras.h" #include "Utility.h" -#include <__cxxabi_config.h> #include #include #include @@ -31,7 +30,7 @@ #include #include -#ifdef _LIBCXXABI_COMPILER_CLANG +#if defined(__clang__) #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wunused-template" #endif @@ -5948,7 +5947,7 @@ struct ManglingParser : AbstractManglingParser, Alloc> { DEMANGLE_NAMESPACE_END -#ifdef _LIBCXXABI_COMPILER_CLANG +#if defined(__clang__) #pragma clang diagnostic pop #endif