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