From bdfe2c3fdfd88aedf5e94efb8656ff1eced3883c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Frauenschl=C3=A4ger?= Date: Thu, 18 Jul 2024 16:25:08 +0200 Subject: [PATCH] Zephyr V3.7 warning fix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The required feature flag CONFIG_PTHREAD_IPC is deprecated since Zephyr version 3.7. The new option is CONFIG_POSIX_THREADS. This change clears the warning. Signed-off-by: Tobias Frauenschläger --- wolfssl/wolfcrypt/wc_port.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wolfssl/wolfcrypt/wc_port.h b/wolfssl/wolfcrypt/wc_port.h index df9686278c..0cf0eea656 100644 --- a/wolfssl/wolfcrypt/wc_port.h +++ b/wolfssl/wolfcrypt/wc_port.h @@ -147,8 +147,8 @@ #elif defined(WOLFSSL_ZEPHYR) #include #ifndef SINGLE_THREADED - #ifndef CONFIG_PTHREAD_IPC - #error "Need CONFIG_PTHREAD_IPC for threading" + #if !defined(CONFIG_PTHREAD_IPC) && !defined(CONFIG_POSIX_THREADS) + #error "Threading needs CONFIG_PTHREAD_IPC / CONFIG_POSIX_THREADS" #endif #if KERNEL_VERSION_NUMBER >= 0x30100 #include