Skip to content

Commit

Permalink
Darwin patches.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 6, 2002
1 parent 37da3c3 commit cd7021b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions platform/unix.c
Expand Up @@ -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)
Expand Down
8 changes: 7 additions & 1 deletion test/test_physfs.c
Expand Up @@ -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

Expand Down

0 comments on commit cd7021b

Please sign in to comment.