浏览代码

Fixed tvOS build, which is both __IOS__ and __TVOS__

Sam Lantinga 2 年之前
父节点
当前提交
bc5677db95
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      include/SDL_platform.h

+ 2 - 1
include/SDL_platform.h

@@ -98,7 +98,8 @@
 #if TARGET_OS_TV
 #undef __TVOS__
 #define __TVOS__ 1
-#elif TARGET_OS_IPHONE
+#endif
+#if TARGET_OS_IPHONE
 #undef __IOS__
 #define __IOS__ 1
 #else