aboutsummaryrefslogtreecommitdiff
path: root/butl/diagnostics.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-24 08:10:58 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-01-24 08:10:58 +0200
commit2fcb8f32f339f3a3cb550f10f565d6072f565012 (patch)
tree1124a256ba5fe1f66272b781a99374c4c688e3d7 /butl/diagnostics.cxx
parentf29c9a5a0cdca0205f98d55ad20d1145295db126 (diff)
Redo config as feature test macros
Diffstat (limited to 'butl/diagnostics.cxx')
-rw-r--r--butl/diagnostics.cxx2
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