Skip to content
Permalink
Browse files
Darwin patches.
  • Loading branch information
icculus committed Apr 6, 2002
1 parent 37da3c3 commit cd7021ba43719bea318731bc6aa363c34e1725a4
Showing with 9 additions and 1 deletion.
  1. +2 −0 platform/unix.c
  2. +7 −1 test/test_physfs.c
@@ -94,6 +94,8 @@ char **__PHYSFS_platformDetectAvailableCDs(void)

if ( strcmp( mntbufp[ii].f_fstypename, "iso9660") == 0 )
add_it = 1;
else if ( strcmp( mntbufp[ii].f_fstypename, "cd9660") == 0 )
add_it = 1;
/* !!! other mount types? */

if (add_it)
@@ -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

0 comments on commit cd7021b

Please sign in to comment.