From dc4fb85d003ac6fa5402fe795aceffb76f5e2f3b Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Thu, 11 Apr 2019 20:13:44 +0100 Subject: [PATCH] cpp11_thread_local testcase fix for Visual C++ --- Examples/test-suite/cpp11_thread_local.i | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Examples/test-suite/cpp11_thread_local.i b/Examples/test-suite/cpp11_thread_local.i index 6a1019824..21f21859b 100644 --- a/Examples/test-suite/cpp11_thread_local.i +++ b/Examples/test-suite/cpp11_thread_local.i @@ -20,8 +20,10 @@ extern "C++" thread_local int ecpptval; thread_local int ThreadLocals::stval = 11; thread_local int ThreadLocals::tsval = 22; +#if !defined(_MSC_VER) thread_local const int ThreadLocals::stcval88; thread_local const int ThreadLocals::tscval99; +#endif %} %{