summaryrefslogtreecommitdiff
path: root/absl/base
diff options
context:
space:
mode:
authorGravatar Benjamin Barenblat <bbaren@google.com>2024-05-13 13:47:25 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2024-05-13 13:48:35 -0700
commit519ef3b3f1927972bce669d775abb9b512dd590d (patch)
tree4a080925510e0fe9993e24559e6a12297d976be3 /absl/base
parent73841853760d6f86f5fe0372f17b2456874b6399 (diff)
Allow __cxa_demangle on MIPS
Both libstdc++ and libc++abi currently ship a __cxa_demangle on MIPS; there’s no reason to avoid using it. PiperOrigin-RevId: 633319823 Change-Id: I8d28a87f9998a62a25e0e149138395f8994e6fb5
Diffstat (limited to 'absl/base')
-rw-r--r--absl/base/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/base/config.h b/absl/base/config.h
index 5fa9f0ef..bcf11563 100644
--- a/absl/base/config.h
+++ b/absl/base/config.h
@@ -900,7 +900,7 @@ static_assert(ABSL_INTERNAL_INLINE_NAMESPACE_STR[0] != 'h' ||
#error ABSL_INTERNAL_HAS_CXA_DEMANGLE cannot be directly set
#elif defined(OS_ANDROID) && (defined(__i386__) || defined(__x86_64__))
#define ABSL_INTERNAL_HAS_CXA_DEMANGLE 0
-#elif defined(__GNUC__) && !defined(__mips__)
+#elif defined(__GNUC__)
#define ABSL_INTERNAL_HAS_CXA_DEMANGLE 1
#elif defined(__clang__) && !defined(_MSC_VER)
#define ABSL_INTERNAL_HAS_CXA_DEMANGLE 1