We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9ff773 + bdfe2c3 commit 604a1feCopy full SHA for 604a1fe
1 file changed
wolfssl/wolfcrypt/wc_port.h
@@ -147,8 +147,8 @@
147
#elif defined(WOLFSSL_ZEPHYR)
148
#include <version.h>
149
#ifndef SINGLE_THREADED
150
- #ifndef CONFIG_PTHREAD_IPC
151
- #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"
152
#endif
153
#if KERNEL_VERSION_NUMBER >= 0x30100
154
#include <zephyr/kernel.h>
0 commit comments