SDL_PLATFORM_UNIX - A preprocessor macro that is only defined if compiling for a Unix-like system.
Contents
Availability
This macro is available since SDL 3.2.0.
Simple Directmedia Layer SDL 3.2.10 SDL_PLATFORM_UNIX(3)
Description
Other platforms, like Linux, might define this in addition to their primary define.
Header File
Defined in SDL3/SDL_platform_defines.h
Name
SDL_PLATFORM_UNIX - A preprocessor macro that is only defined if compiling for a Unix-like system.
Synopsis
#include"SDL3/SDL.h"#defineSDL_PLATFORM_UNIX1
