1
0
mirror of synced 2024-11-14 06:37:36 +01:00

Remove sem_wait, might regress a game

This commit is contained in:
Bobby Dilley 2023-11-19 10:32:56 +00:00
parent 14f365bec8
commit f2c3b79c2d

View File

@ -206,10 +206,7 @@ int open64(const char *pathname, int flags)
return open(pathname, flags);
}
int sem_wait(sem_t *sem)
{
return 0;
}
FILE *fopen(const char *restrict pathname, const char *restrict mode)
{
@ -468,7 +465,7 @@ float powf(float base, float exponent)
return (float)pow((double)base, (double)exponent);
}
/*
/** This might be required for some games
int sem_wait(sem_t *sem)
{
int (*original_sem_wait)(sem_t * sem) = dlsym(RTLD_NEXT, "sem_wait");