summaryrefslogtreecommitdiffstats
path: root/libunwind/src/Unwind-sjlj.c
diff options
context:
space:
mode:
Diffstat (limited to 'libunwind/src/Unwind-sjlj.c')
-rw-r--r--libunwind/src/Unwind-sjlj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libunwind/src/Unwind-sjlj.c b/libunwind/src/Unwind-sjlj.c
index 90cac3f8c76..37901caa0e8 100644
--- a/libunwind/src/Unwind-sjlj.c
+++ b/libunwind/src/Unwind-sjlj.c
@@ -52,7 +52,7 @@ struct _Unwind_FunctionContext {
#else
# if __STDC_VERSION__ >= 201112L
# define _LIBUNWIND_THREAD_LOCAL _Thread_local
-# elif defined(_WIN32)
+# elif defined(_MSC_VER)
# define _LIBUNWIND_THREAD_LOCAL __declspec(thread)
# elif defined(__GNUC__) || defined(__clang__)
# define _LIBUNWIND_THREAD_LOCAL __thread
OpenPOWER on IntegriCloud