test/test_physfs.c
changeset 191 0b95b9fd25e3
parent 182 a47c39af46ad
child 214 19846c18071b
--- a/test/test_physfs.c	Sat Apr 06 23:49:07 2002 +0000
+++ b/test/test_physfs.c	Sat Apr 06 23:49:17 2002 +0000
@@ -15,7 +15,13 @@
 #include <SIOUX.h>
 #endif
 
-#if ((!defined WIN32) && (!defined __MACOS__))
+#if ((defined __APPLE__) && (defined __MACH__))
+#  if (!defined __DARWIN__)
+#    define __DARWIN__
+#  endif
+#endif
+
+#if ((!defined WIN32) && (!defined __MACOS__) && (!defined __DARWIN__))
 #define HAVE_READLINE
 #endif