SDL_PLATFORM_HPUX(3)
π SDL_PLATFORM_HPUX π
okay so bestie, welcome to the SDL_PLATFORM_HPUX(3) page β part of the SDL3 FUNCTIONS collection, and honestly it's a short one but it's important okay. it's giving "small but mighty." π¦
β¨ NAME β¨
SDL_PLATFORM_HPUX β a preprocessor macro that is only defined if you're compiling for HP-UX. that's it. that's the whole vibe. no cap. π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_platform_defines.h>
#define SDL_PLATFORM_HPUX 1
so you pull in SDL_platform_defines.h, and if the universe (and the compiler) says so, SDL_PLATFORM_HPUX shows up defined as 1. iconic behavior fr fr. πΈ
β¨ AVAILABILITY β¨
this macro has been available since SDL 3.2.0. so if you're on anything olderβ¦ yeah, she's not there yet. π
heads up bestie: this macro is only defined when compiling for HP-UX β so don't go using it as a general-purpose "am I on HP-UX?" check at runtime, because it literally will not exist on other platforms. guard it properly, okay? π«Ά
mwah π that's the whole page β short, sweet, and completely slaying. this little number comes to you from Simple Directmedia Layer, rocking SDL 3.4.18. go forth and #ifdef responsibly, queen. ππβ
π¦ 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