SDL_PLATFORM_HURD(3)
π SDL_PLATFORM_HURD π
okay bestie, so this is a page from the SDL3 FUNCTIONS manual set, and it's about one single little preprocessor macro. tiny page, big main character energy.
β¨ NAME β¨
SDL_PLATFORM_HURD β a preprocessor macro that is only defined if you're compiling for GNU/Hurd. that's it. that's the whole thing. no cap.
β¨ SYNOPSIS β¨
#include <SDL3/SDL_platform_defines.h>
#define SDL_PLATFORM_HURD 1
so you pull in <SDL3/SDL_platform_defines.h>, and when the universe decides you're on GNU/Hurd, this bad boy shows up defined as 1. π
β¨ AVAILABILITY β¨
this macro has been serving since SDL 3.4.0. lowkey a legend. π
heads up bestie: if you're not compiling for GNU/Hurd, this macro simply does not exist. so likeβ¦ vibe check your #ifdef before you commit, fr fr. π«Ά
and that's the whole page, periodt. π this lil icon came to you from Simple Directmedia Layer, version SDL 3.4.18, straight out of the SDL3 FUNCTIONS collection. go compile something cute, bestie β¨ππ¦
π¦ 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