SDL_PLATFORM_CYGWIN(3)
β¨ NAME β¨
okay so bestie, welcome to the SDL_PLATFORM_CYGWIN(3) page from the SDL3 FUNCTIONS manual π this one is short and sweet: SDL_PLATFORM_CYGWIN is a preprocessor macro that is only defined if compiling for Cygwin. that's the whole vibe. Cygwin target? macro shows up. not Cygwin? it doesn't. periodt.
π SYNOPSIS π
#include <SDL3/SDL_platform_defines.h>
#define SDL_PLATFORM_CYGWIN 1
like, you pull in the header, and the macro is literally defined as 1 when the Cygwin situation is happening β¨.
πΈ AVAILABILITY πΈ
this macro has been available since SDL 3.2.0 β so if you're on SDL 3.2.0 or later, you're good, bestie π«Ά.
mwah π this page came from Simple Directmedia Layer, SDL 3.4.18 β stay slay, and may your preprocessor checks always behave πβ¨
π¦ 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