platform/unix.c
changeset 310 f8bca4a93fd5
parent 273 9451eff9f495
child 316 29a4d12d1dc6
--- 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 ... */