Fixed iOS build
diff --git a/src/file/cocoa/SDL_rwopsbundlesupport.h b/src/file/cocoa/SDL_rwopsbundlesupport.h
index a4402dd..9a8a966 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 <stdio.h>
diff --git a/src/file/cocoa/SDL_rwopsbundlesupport.m b/src/file/cocoa/SDL_rwopsbundlesupport.m
index cd59e6d..682bd74 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 <Foundation/Foundation.h>
#include "SDL_rwopsbundlesupport.h"