Skip to content

Commit 604a1fe

Browse files
authored
Merge pull request #7774 from Laboratory-for-Safe-and-Secure-Systems/zephyr_v3_7
Zephyr V3.7 warning fix
2 parents a9ff773 + bdfe2c3 commit 604a1fe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

wolfssl/wolfcrypt/wc_port.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@
147147
#elif defined(WOLFSSL_ZEPHYR)
148148
#include <version.h>
149149
#ifndef SINGLE_THREADED
150-
#ifndef CONFIG_PTHREAD_IPC
151-
#error "Need CONFIG_PTHREAD_IPC for threading"
150+
#if !defined(CONFIG_PTHREAD_IPC) && !defined(CONFIG_POSIX_THREADS)
151+
#error "Threading needs CONFIG_PTHREAD_IPC / CONFIG_POSIX_THREADS"
152152
#endif
153153
#if KERNEL_VERSION_NUMBER >= 0x30100
154154
#include <zephyr/kernel.h>

0 commit comments

Comments
 (0)