Reference

SDL_PLATFORM_ANDROID(3)

A preprocessor macro that is only defined if compiling for Android.

NAME

SDL_PLATFORM_ANDROID - A preprocessor macro that is only defined if compiling for Android.

HEADER FILE

Defined in SDL3/SDL_platform_defines.h

SYNOPSIS

#include "SDL3/SDL.h"

#define SDL_PLATFORM_ANDROID 1

AVAILABILITY

This macro is available since SDL 3.2.0.