commit 3c4ab37

hovercats  ·  2024-10-21 20:51:47 +0000 UTC
parent 753978c
pixman: readd ifdef for HAVE__THREAD_LOCAL from before the update
1 files changed,  +3, -1
+3, -1
 1@@ -20,7 +20,9 @@
 2 #define HAVE_UNISTD_H 1
 3 #define PACKAGE foo
 4 #define SIZEOF_LONG 8
 5-#define TLS __thread
 6+#ifdef HAVE__THREAD_LOCAL
 7+# define TLS _Thread_local
 8+#endif
 9 #define TOOLCHAIN_SUPPORTS_ATTRIBUTE_CONSTRUCTOR 1
10 #define USE_GCC_INLINE_ASM 1
11 #define USE_SSE2 1