SDL_platform.h: define TARGET_OS_SIMULATOR as 0 if not already defined.
c.f.: https://github.com/libsdl-org/SDL/issues/4475
This commit is contained in:
1 parent
be41cf2dfe
commit
073cbc40cb
1 file changed
+3
@@ -87,6 +87,9 @@
|
|||||||
#ifndef TARGET_OS_TV
|
#ifndef TARGET_OS_TV
|
||||||
#define TARGET_OS_TV 0
|
#define TARGET_OS_TV 0
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef TARGET_OS_SIMULATOR
|
||||||
|
#define TARGET_OS_SIMULATOR 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#if TARGET_OS_TV
|
#if TARGET_OS_TV
|
||||||
#undef __TVOS__
|
#undef __TVOS__
|
||||||
|
|||||||
Reference in new issue
Block a user