compile fix for OSX 10.4, see
http://www.bulletphysics.com/Bullet/phpBB3/viewtopic.php?f=9&t=3825
This commit is contained in:
@@ -58,7 +58,7 @@ static sem_t* createSem(const char* baseName)
|
||||
char name[32];
|
||||
snprintf(name, 32, "/%s-%d-%4.4d", baseName, getpid(), semCount++);
|
||||
sem_t* tempSem = sem_open(name, O_CREAT, 0600, 0);
|
||||
if (tempSem != SEM_FAILED)
|
||||
if (tempSem != reinterpret_cast<sem_t *>(SEM_FAILED))
|
||||
{
|
||||
//printf("Created \"%s\" Semaphore %x\n", name, tempSem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user