Explorar el Código

Fixed tvOS build, which is both __IOS__ and __TVOS__

Sam Lantinga hace 2 años
padre
commit
bc5677db95
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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