summaryrefslogtreecommitdiffstats
path: root/contrib/libcxxrt/cxxabi.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libcxxrt/cxxabi.h')
-rw-r--r--contrib/libcxxrt/cxxabi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libcxxrt/cxxabi.h b/contrib/libcxxrt/cxxabi.h
index 7c83360..411c4c7 100644
--- a/contrib/libcxxrt/cxxabi.h
+++ b/contrib/libcxxrt/cxxabi.h
@@ -110,7 +110,7 @@ struct __cxa_exception
* handler count reaches 0 (which it doesn't with the top bit set).
*/
int handlerCount;
-#ifdef __arm__
+#if defined(__arm__) && !defined(__ARM_DWARF_EH__)
/**
* The ARM EH ABI requires the unwind library to keep track of exceptions
* during cleanups. These support nesting, so we need to keep a list of
OpenPOWER on IntegriCloud