Fixed tvOS build, which is both __IOS__ and __TVOS__

This commit is contained in:
Sam Lantinga 2022-11-25 17:28:51 -08:00
parent 6786dc481d
commit bc5677db95

View file

@ -98,7 +98,8 @@
#if TARGET_OS_TV #if TARGET_OS_TV
#undef __TVOS__ #undef __TVOS__
#define __TVOS__ 1 #define __TVOS__ 1
#elif TARGET_OS_IPHONE #endif
#if TARGET_OS_IPHONE
#undef __IOS__ #undef __IOS__
#define __IOS__ 1 #define __IOS__ 1
#else #else