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:
DRC
2020-06-16 13:52:39 -05:00
parent b443c541b9
commit ae87a95861
6 changed files with 28 additions and 4 deletions

View File

@@ -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@"