SDL_VERSION - Man Page
This is the version number macro for the current SDL version.
Synopsis
#include <SDL3/SDL_version.h>
#define SDL_VERSION \
SDL_VERSIONNUM(SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_MICRO_VERSION)Thread Safety
It is safe to call this macro from any thread.
Availability
This macro is available since SDL 3.2.0.
See Also
Info
SDL 3.4.8 Simple Directmedia Layer SDL3 FUNCTIONS