Man page - sdl_version(3)

Packages contas this manual

Manual

SDL_VERSION(3) SDL3 FUNCTIONS SDL_VERSION(3)

SDL_VERSION - This is the version number macro for the current SDL version.

Defined in SDL3/SDL_version.h

#include "SDL3/SDL.h"
#define SDL_VERSION .BI SDL_VERSIONNUM(SDL_MAJOR_VERSION,SDL_MINOR_VERSION,SDL_MICRO_VERSION)

This macro is available since SDL 3.2.0.

(3), SDL_GetVersion(3)

SDL 3.2.10 Simple Directmedia Layer