SDL_PLATFORM_APPLE - A preprocessor macro that is only defined if compiling for Apple platforms.
Contents
Availability
This macro is available since SDL 3.2.0.
Description
iOS, macOS, etc will additionally define a more specific platform macro.
Header File
Defined in SDL3/SDL_platform_defines.h
Name
SDL_PLATFORM_APPLE - A preprocessor macro that is only defined if compiling for Apple platforms.
See Also
•(3), SDL_PLATFORM_MACOS(3), •(3), SDL_PLATFORM_IOS(3), •(3), SDL_PLATFORM_TVOS(3), •(3), SDL_PLATFORM_VISIONOS(3) Simple Directmedia Layer SDL 3.2.10 SDL_PLATFORM_APPLE(3)
Synopsis
#include"SDL3/SDL.h"#defineSDL_PLATFORM_APPLE1
