aboutsummaryrefslogtreecommitdiff
path: root/butl
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-12-16 17:12:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-12-16 17:12:43 +0200
commit7ca36cc5fc510e63f5caf830433231bbccca622f (patch)
tree86908f7ba7616c5c517943f29e22235cd312acbb /butl
parentbf57209f9e1c9f9f639c2d63c7674c3757750eb5 (diff)
Fix the previous fix
Diffstat (limited to 'butl')
-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
}