SDL_PLATFORM_TVOS(3)
π SDL_PLATFORM_TVOS(3) β SDL3 FUNCTIONS π
okay bestie, gather round, because this one is short but it's iconic. this is the page for SDL_PLATFORM_TVOS, a preprocessor macro that only exists if you're compiling for tvOS. that's it. that's the whole vibe. ππΊ
β¨ NAME β¨
SDL_PLATFORM_TVOS β a preprocessor macro that is only defined if compiling for tvOS.
no cap. if you're not building for tvOS, this macro literally does not exist, so don't come for her. π
π SYNOPSIS π
#include <SDL3/SDL_platform_defines.h>
#define SDL_PLATFORM_TVOS 1
so you pull in the platform defines header, and boom β when the vibes are right (aka you're on tvOS), the macro is sitting there at 1. π¦
πΈ AVAILABILITY πΈ
this macro is available since SDL 3.2.0. so if you're on anything olderβ¦ girl, upgrade. π
π SEE ALSO π
SDL_PLATFORM_APPLE(3)β the sibling, the bestie, the other platform macro you should also go read. π«Ά
and that's the whole page, periodt. tiny page, huge main character energy. β¨
this has been Simple Directmedia Layer, SDL 3.4.18, page SDL_PLATFORM_TVOS(3) β mwah, love u, go compile something cute. πππ
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms