From 7ca36cc5fc510e63f5caf830433231bbccca622f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 16 Dec 2016 17:12:43 +0200 Subject: Fix the previous fix --- butl/utility.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 } -- cgit v1.1