aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc/support/tls_msvc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/grpc/support/tls_msvc.h')
-rw-r--r--include/grpc/support/tls_msvc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/grpc/support/tls_msvc.h b/include/grpc/support/tls_msvc.h
index e574c11884..526aeeacdf 100644
--- a/include/grpc/support/tls_msvc.h
+++ b/include/grpc/support/tls_msvc.h
@@ -42,7 +42,7 @@ struct gpr_msvc_thread_local {
};
#define GPR_TLS_DECL(name) \
- static __thread struct gpr_msvc_thread_local name = {0}
+ static __declspec(thread) struct gpr_msvc_thread_local name = {0}
#define gpr_tls_init(tls) do {} while (0)
#define gpr_tls_destroy(tls) do {} while (0)