SDL_PLATFORM_HURD(3)

πŸ“¦
version 3.4.18 Β· 5 versions
, in fedora 43, fedora 44

πŸ’– 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