summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2018-06-27 19:14:54 +0000
committerDimitry Andric <dim@FreeBSD.org>2018-06-27 19:14:54 +0000
commit04505aa4660e124736aee62dce91e16b7112ac19 (patch)
treefcc42212f2bfac0a38d5a28c9ab5c12b601822e9 /src
parent6100a9db7de1d3dd60045622df161b6288fdf88a (diff)
Notes
Diffstat (limited to 'src')
-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;