Forgot to apply build-time thread fix to default branch (thanks, Patrice!).
This commit is contained in:
parent
e6f331f32d
commit
a44e9669c1
|
@ -24,7 +24,7 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#if (!defined PHYSFS_NO_PTHREADS_SUPPORT)
|
#if (!defined PHYSFS_NO_THREAD_SUPPORT)
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -359,7 +359,7 @@ int __PHYSFS_platformSetDefaultAllocator(PHYSFS_Allocator *a)
|
||||||
} /* __PHYSFS_platformSetDefaultAllocator */
|
} /* __PHYSFS_platformSetDefaultAllocator */
|
||||||
|
|
||||||
|
|
||||||
#if (defined PHYSFS_NO_PTHREADS_SUPPORT)
|
#if (defined PHYSFS_NO_THREAD_SUPPORT)
|
||||||
|
|
||||||
void *__PHYSFS_platformGetThreadID(void) { return ((void *) 0x0001); }
|
void *__PHYSFS_platformGetThreadID(void) { return ((void *) 0x0001); }
|
||||||
void *__PHYSFS_platformCreateMutex(void) { return ((void *) 0x0001); }
|
void *__PHYSFS_platformCreateMutex(void) { return ((void *) 0x0001); }
|
||||||
|
@ -443,7 +443,7 @@ void __PHYSFS_platformReleaseMutex(void *mutex)
|
||||||
} /* if */
|
} /* if */
|
||||||
} /* __PHYSFS_platformReleaseMutex */
|
} /* __PHYSFS_platformReleaseMutex */
|
||||||
|
|
||||||
#endif /* !PHYSFS_NO_PTHREADS_SUPPORT */
|
#endif /* !PHYSFS_NO_THREAD_SUPPORT */
|
||||||
|
|
||||||
#endif /* PHYSFS_PLATFORM_UNIX */
|
#endif /* PHYSFS_PLATFORM_UNIX */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue