Преглед изворни кода

Whoops; the pthread-disabling condition was flipped. Fixed.

Ryan C. Gordon пре 23 година
родитељ
комит
0c05876240
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      platform/unix.c

+ 1 - 1
platform/unix.c

@@ -280,7 +280,7 @@ char *__PHYSFS_platformRealPath(const char *path)
 } /* __PHYSFS_platformRealPath */
 } /* __PHYSFS_platformRealPath */
 
 
 
 
-#if (!defined PHYSFS_NO_PTHREADS_SUPPORT)
+#if (defined PHYSFS_NO_PTHREADS_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); }