1
0
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:
Darryl Pogue
2012-04-20 22:54:23 -07:00
parent f38682882b
commit 0ac6cd4907

View File

@ -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);