From a44e9669c18f320175c62a06b0b188b205db4ade Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Mon, 22 Mar 2010 16:03:17 -0400 Subject: [PATCH] Forgot to apply build-time thread fix to default branch (thanks, Patrice!). --- src/platform_unix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/platform_unix.c b/src/platform_unix.c index 9fc29704..0ccaeb0f 100644 --- a/src/platform_unix.c +++ b/src/platform_unix.c @@ -24,7 +24,7 @@ #include #include -#if (!defined PHYSFS_NO_PTHREADS_SUPPORT) +#if (!defined PHYSFS_NO_THREAD_SUPPORT) #include #endif @@ -359,7 +359,7 @@ int __PHYSFS_platformSetDefaultAllocator(PHYSFS_Allocator *a) } /* __PHYSFS_platformSetDefaultAllocator */ -#if (defined PHYSFS_NO_PTHREADS_SUPPORT) +#if (defined PHYSFS_NO_THREAD_SUPPORT) void *__PHYSFS_platformGetThreadID(void) { return ((void *) 0x0001); } void *__PHYSFS_platformCreateMutex(void) { return ((void *) 0x0001); } @@ -443,7 +443,7 @@ void __PHYSFS_platformReleaseMutex(void *mutex) } /* if */ } /* __PHYSFS_platformReleaseMutex */ -#endif /* !PHYSFS_NO_PTHREADS_SUPPORT */ +#endif /* !PHYSFS_NO_THREAD_SUPPORT */ #endif /* PHYSFS_PLATFORM_UNIX */