libjpeg-turbo: disable thread local storage usage introduced in https://github.com/libjpeg-turbo/libjpeg-turbo/commit/f579cc11b33e5bfeb9931e37cc74b4a33c95d2e6, this should fix crashing in XP/2003.

This commit is contained in:
2024-10-12 20:20:45 +08:00
parent 1dffd76cda
commit 06fe8456f7
+1 -1
View File
@@ -10,7 +10,7 @@
/* How to obtain thread-local storage */
#if defined(_MSC_VER)
#define THREAD_LOCAL __declspec(thread)
#define THREAD_LOCAL
#else
#define THREAD_LOCAL __thread
#endif