SDL_PLATFORM_GDK(3)
π SDL_PLATFORM_GDK π
okay bestie, welcome to the SDL_PLATFORM_GDK(3) page, straight outta the SDL3 FUNCTIONS manual. this one is short, sweet, and honestly kinda iconic β it's a preprocessor macro situation, no cap. π
β¨ NAME β¨
SDL_PLATFORM_GDK β it's a preprocessor macro that only gets defined when you're compiling for Microsoft GDK, on any platform. like, any platform. it doesn't care. π
β¨ SYNOPSIS β¨
so here's the vibe, literally the whole thing:
#include <SDL3/SDL_platform_defines.h>
#define SDL_PLATFORM_GDK 1
that's it. that's the whole synopsis. she's lowkey minimal. π
β¨ AVAILABILITY β¨
this macro has been serving since SDL 3.2.0. she's not new new, but she's not ancient either β she's in her prime. π
fr fr, remember: this macro is only defined if you're compiling for Microsoft GDK. if you're out here on some other target and you're checking for SDL_PLATFORM_GDK, bestie... she's not there. don't be surprised. π«Ά
slay, that's the whole page. mwah. π
later bestie β this page came to you from the Simple Directmedia Layer crew, version SDL 3.4.18, and it lives in the SDL3 FUNCTIONS manual. go forth and #ifdef responsibly. π¦β¨π
π¦ 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