Forgot to apply build-time thread fix to default branch (thanks, Patrice!).
authorRyan C. Gordon <icculus@icculus.org>
Mon, 22 Mar 2010 16:03:17 -0400
changeset 1079 c218c384331e
parent 1077 21166622a4d4
child 1085 1ad575ce53c8
Forgot to apply build-time thread fix to default branch (thanks, Patrice!).
src/platform_unix.c
--- a/src/platform_unix.c	Mon Mar 22 11:12:45 2010 -0400
+++ b/src/platform_unix.c	Mon Mar 22 16:03:17 2010 -0400
@@ -24,7 +24,7 @@
 #include <time.h>
 #include <errno.h>
 
-#if (!defined PHYSFS_NO_PTHREADS_SUPPORT)
+#if (!defined PHYSFS_NO_THREAD_SUPPORT)
 #include <pthread.h>
 #endif
 
@@ -359,7 +359,7 @@
 } /* __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 @@
     } /* if */
 } /* __PHYSFS_platformReleaseMutex */
 
-#endif /* !PHYSFS_NO_PTHREADS_SUPPORT */
+#endif /* !PHYSFS_NO_THREAD_SUPPORT */
 
 #endif /* PHYSFS_PLATFORM_UNIX */