mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Fix hsThread_Unix compilation.
This commit is contained in:
@ -320,7 +320,7 @@ hsBool hsSemaphore::TryWait()
|
||||
{
|
||||
#ifdef USE_SEMA
|
||||
int status = ::sem_trywait(fPSema);
|
||||
return status != E_AGAIN;
|
||||
return status != EAGAIN;
|
||||
#else
|
||||
int status = ::pthread_mutex_trylock(&fPMutex);
|
||||
hsThrowIfOSErr(status);
|
||||
|
Reference in New Issue
Block a user