diff --git a/include/SDL_platform.h b/include/SDL_platform.h index 71d641c0bf..b10b5b6fc4 100644 --- a/include/SDL_platform.h +++ b/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