소스 검색

Fixed iOS build

Sam Lantinga 11 년 전
부모
커밋
d4f2f01580
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/file/cocoa/SDL_rwopsbundlesupport.h
  2. 1 1
      src/file/cocoa/SDL_rwopsbundlesupport.m

+ 1 - 1
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>
 

+ 1 - 1
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"