Darwin patches.
This commit is contained in:
parent
37da3c3843
commit
cd7021ba43
|
@ -94,6 +94,8 @@ char **__PHYSFS_platformDetectAvailableCDs(void)
|
||||||
|
|
||||||
if ( strcmp( mntbufp[ii].f_fstypename, "iso9660") == 0 )
|
if ( strcmp( mntbufp[ii].f_fstypename, "iso9660") == 0 )
|
||||||
add_it = 1;
|
add_it = 1;
|
||||||
|
else if ( strcmp( mntbufp[ii].f_fstypename, "cd9660") == 0 )
|
||||||
|
add_it = 1;
|
||||||
/* !!! other mount types? */
|
/* !!! other mount types? */
|
||||||
|
|
||||||
if (add_it)
|
if (add_it)
|
||||||
|
|
|
@ -15,7 +15,13 @@
|
||||||
#include <SIOUX.h>
|
#include <SIOUX.h>
|
||||||
#endif
|
#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
|
#define HAVE_READLINE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue