Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_PLATFORM_UNIX - A preprocessor macro that is only defined if compiling for a Unix-like system.

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

See Also