We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5b86465 + 6000585 commit 377d238Copy full SHA for 377d238
1 file changed
wolfssl/wolfcrypt/types.h
@@ -423,7 +423,7 @@ enum {
423
#endif
424
425
/* set up thread local storage if available */
426
-#ifdef HAVE_THREAD_LS
+#if defined(HAVE_THREAD_LS) && !defined(NO_THREAD_LS)
427
#if defined(_MSC_VER) || defined(__WATCOMC__)
428
#define THREAD_LS_T __declspec(thread)
429
/* Thread local storage only in FreeRTOS v8.2.1 and higher */
0 commit comments