SDL_MAJOR_VERSION - Man Page
The current major version of SDL headers.
Synopsis
#include <SDL3/SDL_version.h> #define SDL_MAJOR_VERSION 3
Description
If this were SDL version 3.2.1, this value would be 3.
Availability
This macro is available since SDL 3.2.0.
Info
SDL 3.2.16 Simple Directmedia Layer SDL3 FUNCTIONS