SDL_PLATFORM_XBOXSERIES(3)
π SDL_PLATFORM_XBOXSERIES π
okay so bestie, welcome to SDL_PLATFORM_XBOXSERIES β a preprocessor macro from the SDL3 functions crew, and it's giving very exclusive guest list energy. π
β¨ NAME β¨
SDL_PLATFORM_XBOXSERIES β a preprocessor macro that is only defined if you're compiling for Xbox Series. that's it. that's the whole vibe. no cap. π
πΈ SYNOPSIS πΈ
like, here's literally how you get it in:
#include <SDL3/SDL_platform_defines.h>
#define SDL_PLATFORM_XBOXSERIES 1
so you pull in the header, and the macro is just sitting there defined as 1. iconic behavior honestly. β¨
π¦ AVAILABILITY π¦
this macro has been available since SDL 3.2.0. so if you're on anything older, sorry babe, she's not there yet. π
ngl, if you're not compiling for Xbox Series, this macro is simply not defined β so guard your code accordingly, bestie. don't come for me when the #ifdef says no. π
and that's the whole page!! shoutout to the Simple Directmedia Layer girlies and to SDL 3.4.18 for making this lil manpage happen π«Ά you ate, fr fr. mwah ππ
π¦ 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