Browse Source

Fixed tvOS build, which is both __IOS__ and __TVOS__

Sam Lantinga 3 năm trước cách đây
mục cha
commit
bc5677db95
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  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