Fixing Python module builds

This commit is contained in:
Matthias Koefferlein 2026-03-03 23:20:43 +01:00
parent 992947f748
commit 001deab767
1 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@
#include <map>
#if defined(HAVE_PTHREADS)
#if !defined(HAVE_QT) || defined(HAVE_PTHREADS)
#define _TIMESPEC_DEFINED // avoids errors with pthread-win and MSVC2017
#include <pthread.h>
@ -233,7 +233,7 @@ void WaitCondition::wakeOne ()
// -------------------------------------------------------------------------------
// Thread implementation
#if !(defined(HAVE_QT) && !defined(HAVE_PTHREADS))
#if !defined(HAVE_QT) || defined(HAVE_PTHREADS)
class ThreadPrivateData
{