diff -r a8615a87be0a -r f8bca4a93fd5 platform/unix.c --- a/platform/unix.c Sat Jun 29 04:10:11 2002 +0000 +++ b/platform/unix.c Sat Jun 29 10:23:17 2002 +0000 @@ -12,6 +12,10 @@ #if (!defined __BEOS__) /* BeOS uses beos.cpp and posix.c ... */ +#if (defined WIN32) /* cygwin/mingw32? */ +#include "win32.c" /* !!! FIXME: holy friggin' hack. */ +#else + #if ((defined __APPLE__) && (defined __MACH__)) # if (!defined __DARWIN__) # define __DARWIN__ @@ -302,6 +306,8 @@ pthread_mutex_unlock((pthread_mutex_t *) mutex); } /* __PHYSFS_platformReleaseMutex */ +#endif /* win32 check. */ + #endif /* !defined __BEOS__ */ /* end of unix.c ... */