SDL_PLATFORM_VITA(3)
π SDL_PLATFORM_VITA π
okay bestie, welcome to the SDL_PLATFORM_VITA page of the SDL3 functions manual, no cap π«Ά
β¨ NAME β¨
SDL_PLATFORM_VITA β a preprocessor macro that is only defined if you're compiling for Sony Vita. that's it, that's the whole vibe. it's giving "you are HERE" but for your build target π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_platform_defines.h>
#define SDL_PLATFORM_VITA 1
so you pull in the header, and if the universe (aka your compiler) says you're on a Vita, this macro just exists and equals 1. if you're not on a Vita? it's literally not there. not defined, not invited, not on the guest list π
π¦ AVAILABILITY π¦
this macro has been available since SDL 3.2.0. so if you're on anything older, bestie, i'm so sorry, it's not gonna show up for you π
heads up: since this is a preprocessor macro, you check it with#ifdef/#if defined(...)at compile time, not at runtime. vibe check happens before your program even exists, iykyk β
Simple Directmedia Layer π SDL 3.4.18 β that's the source and version this lil page came from, and honestly? slay. mwah, go compile something iconic ππβ¨
π¦ 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