mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 10:47:28 +02:00
Merge pull request #8375 from kareem-wolfssl/zd19270
Fix warning about ESP_IDF_VERSION_MAJOR not being defined when defining FREERTOS.
This commit is contained in:
@ -284,7 +284,7 @@
|
|||||||
#else /* MULTI_THREADED */
|
#else /* MULTI_THREADED */
|
||||||
/* FREERTOS comes first to enable use of FreeRTOS Windows simulator only */
|
/* FREERTOS comes first to enable use of FreeRTOS Windows simulator only */
|
||||||
#if defined(FREERTOS)
|
#if defined(FREERTOS)
|
||||||
#if ESP_IDF_VERSION_MAJOR >= 4
|
#if defined(ESP_IDF_VERSION_MAJOR) && (ESP_IDF_VERSION_MAJOR >= 4)
|
||||||
typedef SemaphoreHandle_t wolfSSL_Mutex;
|
typedef SemaphoreHandle_t wolfSSL_Mutex;
|
||||||
#else
|
#else
|
||||||
typedef xSemaphoreHandle wolfSSL_Mutex;
|
typedef xSemaphoreHandle wolfSSL_Mutex;
|
||||||
|
Reference in New Issue
Block a user