Apple refers to "Mac OS X" as "macOS" now.

This commit is contained in:
Ryan C. Gordon 2017-07-22 13:50:40 -04:00
parent 6d91dde273
commit e2750bff62
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@
#define __PHYSICSFS_INTERNAL__
#include "physfs_internal.h"
#ifdef PHYSFS_PLATFORM_MACOSX
#ifdef PHYSFS_PLATFORM_MACOS
#include <CoreFoundation/CoreFoundation.h>
@ -212,7 +212,7 @@ char *__PHYSFS_platformCalcPrefDir(const char *org, const char *app)
return retval;
} /* __PHYSFS_platformCalcPrefDir */
#endif /* PHYSFS_PLATFORM_MACOSX */
#endif /* PHYSFS_PLATFORM_MACOS */
/* end of physfs_platform_macos.c ... */

View File

@ -33,7 +33,7 @@
# if ((TARGET_IPHONE_SIMULATOR) || (TARGET_OS_IPHONE))
# define PHYSFS_NO_CDROM_SUPPORT 1
# endif
# define PHYSFS_PLATFORM_MACOSX 1
# define PHYSFS_PLATFORM_MACOS 1
# define PHYSFS_PLATFORM_POSIX 1
#elif defined(macintosh)
# error Classic Mac OS support was dropped from PhysicsFS 2.0. Move to OS X.