Darwin patches.

This commit is contained in:
Ryan C. Gordon 2002-04-06 23:49:17 +00:00
parent 37da3c3843
commit cd7021ba43
2 changed files with 9 additions and 1 deletions

View File

@ -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)

View File

@ -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