Merge pull request #809 from gojimmypi/pr-disable-old-threading

Disable old threading functions when SINGLE_THREADED
pull/808/head
John Safranek 2025-06-11 10:02:46 -07:00 committed by GitHub
commit 7f625da9d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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
#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)
{