Disable old threading functions when SINGLE_THREADED

pull/809/head
gojimmypi 2025-06-10 10:54:43 -07:00
parent 5cd826c5eb
commit 4da7e53b24
No known key found for this signature in database
GPG Key ID: 3D684FA88DC3FAA8
1 changed files with 2 additions and 1 deletions

View File

@ -949,7 +949,8 @@ static INLINE void WaitTcpReady(tcp_ready* ready)
#ifdef WOLFSSH_TEST_THREADING #ifdef WOLFSSH_TEST_THREADING
#if !defined(WOLFSSH_OLD_THREADING) && !defined(WOLFSSH_OLDER_THREADING) #if !defined(WOLFSSH_OLD_THREADING) && !defined(WOLFSSH_OLDER_THREADING) && \
!defined(SINGLE_THREADED)
static INLINE void ThreadStart(THREAD_CB fun, void* args, THREAD_TYPE* thread) static INLINE void ThreadStart(THREAD_CB fun, void* args, THREAD_TYPE* thread)
{ {