fix issue with PosixThreadSupport on non-Apple platforms
This commit is contained in:
@@ -43,7 +43,9 @@ PosixThreadSupport::~PosixThreadSupport()
|
|||||||
stopSPU();
|
stopSPU();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (defined (__APPLE__))
|
||||||
#define NAMED_SEMAPHORES
|
#define NAMED_SEMAPHORES
|
||||||
|
#endif
|
||||||
|
|
||||||
// this semaphore will signal, if and how many threads are finished with their work
|
// this semaphore will signal, if and how many threads are finished with their work
|
||||||
static sem_t* mainSemaphore;
|
static sem_t* mainSemaphore;
|
||||||
|
|||||||
Reference in New Issue
Block a user