Skip to content
Permalink
Browse files
Forgot to apply build-time thread fix to default branch (thanks, Patr…
…ice!).
  • Loading branch information
icculus committed Mar 22, 2010
1 parent e6f331f commit a44e9669c18f320175c62a06b0b188b205db4ade
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/platform_unix.c
@@ -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 @@ 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 */

0 comments on commit a44e966

Please sign in to comment.