SDL_PLATFORM_APPLE - Man Page

A preprocessor macro that is only defined if compiling for Apple platforms.

Header File

Defined in SDL3/SDL_platform_defines.h

Synopsis

#include "SDL3/SDL.h"

#define SDL_PLATFORM_APPLE 1

Description

iOS, macOS, etc will additionally define a more specific platform macro.

Availability

This macro is available since SDL 3.2.0.

See Also

·(3), SDL_PLATFORM_MACOS(3), ·(3), SDL_PLATFORM_IOS(3), ·(3), SDL_PLATFORM_TVOS(3), ·(3), SDL_PLATFORM_VISIONOS(3)

Referenced By

SDL_PLATFORM_IOS(3), SDL_PLATFORM_MACOS(3), SDL_PLATFORM_TVOS(3), SDL_PLATFORM_VISIONOS(3).

SDL 3.2.2 Simple Directmedia Layer SDL3 FUNCTIONS