summaryrefslogtreecommitdiff
path: root/pixman/pixman-compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'pixman/pixman-compiler.h')
-rw-r--r--pixman/pixman-compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pixman/pixman-compiler.h b/pixman/pixman-compiler.h
index 5b568e1..ffd5172 100644
--- a/pixman/pixman-compiler.h
+++ b/pixman/pixman-compiler.h
@@ -97,10 +97,10 @@
# define PIXMAN_GET_THREAD_LOCAL(name) \
(&name)
-#elif defined(TOOLCHAIN_SUPPORTS__THREAD)
+#elif defined(TLS)
# define PIXMAN_DEFINE_THREAD_LOCAL(type, name) \
- static __thread type name
+ static TLS type name
# define PIXMAN_GET_THREAD_LOCAL(name) \
(&name)