|
@@ -25,7 +25,7 @@
|
|
|
#include <errno.h>
|
|
#include <errno.h>
|
|
|
#include <sys/mount.h>
|
|
#include <sys/mount.h>
|
|
|
|
|
|
|
|
-#if (!defined PHYSFS_NO_PTHREADS_SUPPORT)
|
|
|
|
|
|
|
+#if (!defined PHYSFS_NO_THREAD_SUPPORT)
|
|
|
#include <pthread.h>
|
|
#include <pthread.h>
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
@@ -329,7 +329,7 @@ int __PHYSFS_platformSetDefaultAllocator(PHYSFS_Allocator *a)
|
|
|
} /* __PHYSFS_platformSetDefaultAllocator */
|
|
} /* __PHYSFS_platformSetDefaultAllocator */
|
|
|
|
|
|
|
|
|
|
|
|
|
-#if (defined PHYSFS_NO_PTHREADS_SUPPORT)
|
|
|
|
|
|
|
+#if (defined PHYSFS_NO_THREAD_SUPPORT)
|
|
|
|
|
|
|
|
PHYSFS_uint64 __PHYSFS_platformGetThreadID(void) { return(0x0001); }
|
|
PHYSFS_uint64 __PHYSFS_platformGetThreadID(void) { return(0x0001); }
|
|
|
void *__PHYSFS_platformCreateMutex(void) { return((void *) 0x0001); }
|
|
void *__PHYSFS_platformCreateMutex(void) { return((void *) 0x0001); }
|
|
@@ -427,7 +427,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 */
|
|
|
|
|
|