Explorar o código

SDL_platform.h: define TARGET_OS_SIMULATOR as 0 if not already defined.

c.f.: https://github.com/libsdl-org/SDL/issues/4475
Ozkan Sezer %!s(int64=4) %!d(string=hai) anos
pai
achega
073cbc40cb
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      include/SDL_platform.h

+ 3 - 0
include/SDL_platform.h

@@ -87,6 +87,9 @@
 #ifndef TARGET_OS_TV
 #define TARGET_OS_TV 0
 #endif
+#ifndef TARGET_OS_SIMULATOR
+#define TARGET_OS_SIMULATOR 0
+#endif
 
 #if TARGET_OS_TV
 #undef __TVOS__