aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--butl/utility.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/butl/utility.cxx b/butl/utility.cxx
index f64e7c8..6ac78dd 100644
--- a/butl/utility.cxx
+++ b/butl/utility.cxx
@@ -7,16 +7,18 @@
namespace butl
{
#ifndef BUTL_CXX17_UNCAUGHT_EXCEPTIONS
+
#ifdef BUTL_CXX11_THREAD_LOCAL
thread_local
#else
__thread
#endif
bool exception_unwinding_dtor_ = false;
-#endif
#ifdef _WIN32
bool&
exception_unwinding_dtor () {return exception_unwinding_dtor_;}
#endif
+
+#endif
}