Ver código fonte

Fixed tvOS build, which is both __IOS__ and __TVOS__

Sam Lantinga 2 anos atrás
pai
commit
bc5677db95
1 arquivos alterados com 2 adições e 1 exclusões
  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