summaryrefslogtreecommitdiff
path: root/src/support/runtime/exception_libcxxabi.ipp
diff options
context:
space:
mode:
Diffstat (limited to 'src/support/runtime/exception_libcxxabi.ipp')
-rw-r--r--src/support/runtime/exception_libcxxabi.ipp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support/runtime/exception_libcxxabi.ipp b/src/support/runtime/exception_libcxxabi.ipp
index c3dcf1ec591a..feefc5152891 100644
--- a/src/support/runtime/exception_libcxxabi.ipp
+++ b/src/support/runtime/exception_libcxxabi.ipp
@@ -18,7 +18,7 @@ bool uncaught_exception() _NOEXCEPT { return uncaught_exceptions() > 0; }
int uncaught_exceptions() _NOEXCEPT
{
-# if _LIBCPPABI_VERSION > 1101
+# if _LIBCPPABI_VERSION > 1001
return __cxa_uncaught_exceptions();
# else
return __cxa_uncaught_exception() ? 1 : 0;