diff --git a/src/file/cocoa/SDL_rwopsbundlesupport.h b/src/file/cocoa/SDL_rwopsbundlesupport.h index a4402ddcb..9a8a9662c 100644 --- a/src/file/cocoa/SDL_rwopsbundlesupport.h +++ b/src/file/cocoa/SDL_rwopsbundlesupport.h @@ -19,7 +19,7 @@ 3. This notice may not be removed or altered from any source distribution. */ -#ifdef __MACOSX__ +#ifdef __APPLE__ #include diff --git a/src/file/cocoa/SDL_rwopsbundlesupport.m b/src/file/cocoa/SDL_rwopsbundlesupport.m index cd59e6da8..682bd74a9 100644 --- a/src/file/cocoa/SDL_rwopsbundlesupport.m +++ b/src/file/cocoa/SDL_rwopsbundlesupport.m @@ -20,7 +20,7 @@ */ #include "../../SDL_internal.h" -#ifdef __MACOSX__ +#ifdef __APPLE__ #import #include "SDL_rwopsbundlesupport.h"