diff options
Diffstat (limited to 'butl/diagnostics.cxx')
-rw-r--r-- | butl/diagnostics.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/butl/diagnostics.cxx b/butl/diagnostics.cxx index 83c78ae..bdff3d8 100644 --- a/butl/diagnostics.cxx +++ b/butl/diagnostics.cxx @@ -31,7 +31,7 @@ namespace butl // Don't flush the record if this destructor was called as part of the // stack unwinding. // -#ifdef BUTL_CXX17_UNCAUGHT_EXCEPTIONS +#ifdef __cpp_lib_uncaught_exceptions if (uncaught_ == std::uncaught_exceptions ()) flush (); #else |