From 2fcb8f32f339f3a3cb550f10f565d6072f565012 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 24 Jan 2017 08:10:58 +0200 Subject: Redo config as feature test macros --- butl/diagnostics.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'butl/diagnostics.cxx') 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 -- cgit v1.1