Skip to content

Commit

Permalink
Fixed tvOS build, which is both __IOS__ and __TVOS__
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Nov 26, 2022
1 parent 6786dc4 commit bc5677d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/SDL_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bc5677d

Please sign in to comment.