TurboJPEG: Make global error handling thread-safe
... on platforms that support thread-local storage. This currently includes all supported platforms except 32-bit macOS. Fixes #396
This commit is contained in:
@@ -7,6 +7,9 @@
|
||||
/* How to obtain function inlining. */
|
||||
#define INLINE @INLINE@
|
||||
|
||||
/* How to obtain thread-local storage */
|
||||
#define THREAD_LOCAL @THREAD_LOCAL@
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "@CMAKE_PROJECT_NAME@"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user