summaryrefslogtreecommitdiff
path: root/zbuild.h
diff options
context:
space:
mode:
authorMika Lindqvist <postmaster@raasu.org>2018-06-21 14:51:06 +0300
committerHans Kristian Rosbach <hk-git@circlestorm.org>2018-09-17 11:28:28 +0200
commit16b6cda67be0038327b416e5fa5c7243ed138e21 (patch)
tree423b2e08110fbd8b7811bba2b2230eddfb020eff /zbuild.h
parentbaddc82378c6fa0d1c18651522fc1cc2662e5c50 (diff)
Make functable thread-local.
Diffstat (limited to 'zbuild.h')
-rw-r--r--zbuild.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/zbuild.h b/zbuild.h
index e2e6fc3..f375f2e 100644
--- a/zbuild.h
+++ b/zbuild.h
@@ -5,6 +5,7 @@
#if defined(_MSC_VER)
# include <windows.h>
typedef SSIZE_T ssize_t;
+# define __thread __declspec(thread)
#endif
#if defined(ZLIB_COMPAT)