Apple refers to "Mac OS X" as "macOS" now.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 22 Jul 2017 13:50:40 -0400
changeset 1513 2e54a14fda57
parent 1512 fe20ac238ce4
child 1514 59b3d690cc3c
Apple refers to "Mac OS X" as "macOS" now.
src/physfs_platform_macos.c
src/physfs_platforms.h
--- a/src/physfs_platform_macos.c	Sat Jul 22 13:50:03 2017 -0400
+++ b/src/physfs_platform_macos.c	Sat Jul 22 13:50:40 2017 -0400
@@ -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 @@
     return retval;
 } /* __PHYSFS_platformCalcPrefDir */
 
-#endif /* PHYSFS_PLATFORM_MACOSX */
+#endif /* PHYSFS_PLATFORM_MACOS */
 
 /* end of physfs_platform_macos.c ... */
 
--- a/src/physfs_platforms.h	Sat Jul 22 13:50:03 2017 -0400
+++ b/src/physfs_platforms.h	Sat Jul 22 13:50:40 2017 -0400
@@ -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.