We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 20ae10f + eb64ea1 commit 8ab85a2Copy full SHA for 8ab85a2
wolfssl/wolfcrypt/wc_port.h
@@ -284,7 +284,7 @@
284
#else /* MULTI_THREADED */
285
/* FREERTOS comes first to enable use of FreeRTOS Windows simulator only */
286
#if defined(FREERTOS)
287
- #if ESP_IDF_VERSION_MAJOR >= 4
+ #if defined(ESP_IDF_VERSION_MAJOR) && (ESP_IDF_VERSION_MAJOR >= 4)
288
typedef SemaphoreHandle_t wolfSSL_Mutex;
289
#else
290
typedef xSemaphoreHandle wolfSSL_Mutex;
0 commit comments