From 2fbce65975fb8625649e49cb4ded0536308493de Mon Sep 17 00:00:00 2001 From: David Garske Date: Mon, 13 Mar 2017 20:03:09 -0700 Subject: [PATCH] =?UTF-8?q?Revert=20change=20in=20types.h=20for=20INTIME?= =?UTF-8?q?=5FRTOS.=20HAVE=5FTHREAD=5FLS=20is=20not=20supported=20here,=20?= =?UTF-8?q?so=20don=E2=80=99t=20define=20out.=20Added=20note=20in=20INtime?= =?UTF-8?q?=20RTOS=20user=5Fsettings.h=20to=20indicate=20this.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- IDE/INTIME-RTOS/user_settings.h | 1 + wolfssl/wolfcrypt/types.h | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/IDE/INTIME-RTOS/user_settings.h b/IDE/INTIME-RTOS/user_settings.h index dfff66834..fa4867fe1 100755 --- a/IDE/INTIME-RTOS/user_settings.h +++ b/IDE/INTIME-RTOS/user_settings.h @@ -43,6 +43,7 @@ extern "C" { /* if using in single threaded mode */ #undef SINGLE_THREADED //#define SINGLE_THREADED +/* Note: HAVE_THREAD_LS is not support for INtime RTOS */ /* reduces stack usage, by using malloc/free for stack variables over 100 bytes */ #undef WOLFSSL_SMALL_STACK diff --git a/wolfssl/wolfcrypt/types.h b/wolfssl/wolfcrypt/types.h index bf458fe39..5e405dd21 100644 --- a/wolfssl/wolfcrypt/types.h +++ b/wolfssl/wolfcrypt/types.h @@ -149,10 +149,7 @@ /* set up thread local storage if available */ #ifdef HAVE_THREAD_LS - #if defined(INTIME_RTOS) - /* Thread local storage not supported */ - #define THREAD_LS_T - #elif defined(_MSC_VER) + #if defined(_MSC_VER) #define THREAD_LS_T __declspec(thread) /* Thread local storage only in FreeRTOS v8.2.1 and higher */ #elif defined(FREERTOS)