SDL_PLATFORM_OPENBSD(3)
π SDL_PLATFORM_OPENBSD π
okay bestie, gather round, because this one is tiny but it's important. This is SDL_PLATFORM_OPENBSD β a preprocessor macro that only shows up when you're compiling for OpenBSD. That's it. That's the whole vibe. She's a little flag that says "hey, we're on OpenBSD rn" and she only exists when that's true. no cap. π¦
She lives in the SDL3 functions family, so if you're poking around SDL's platform detection stuff, you're in the right place. iykyk.
β¨ SYNOPSIS β¨
#include <SDL3/SDL_platform_defines.h>
#define SDL_PLATFORM_OPENBSD 1
so yeah, you just pull in the header and the macro is sitting there defined as 1 when you're on OpenBSD. if you're not on OpenBSD? she's simply not there. main character only appears on her own stage, periodt. π
πΈ AVAILABILITY πΈ
- This macro has been available since SDL 3.2.0. so if you're on anything older than that, bestie, you're not getting her. upgrade time fr fr. β
π heads up: this is a preprocessor macro, so it's a compile-time thing, not a runtime thing. don't go trying to check it at runtime and wondering why the vibe check failed. π
and that's the whole page, bestie β short, sweet, iconic. this one came to you from Simple Directmedia Layer, version SDL 3.4.18, and it's filed under SDL_PLATFORM_OPENBSD(3) in the SDL3 functions crew. 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