Provided by: libsdl3-doc_3.2.8+ds-1_all 

NAME
SDL_VERSIONNUM_MAJOR - This macro extracts the major version from a version number
HEADER FILE
Defined in SDL3/SDL_version.h
SYNOPSIS
#include "SDL3/SDL.h" #define SDL_VERSIONNUM_MAJOR(version) ((version) / 1000000)
DESCRIPTION
1002003 becomes 1.
AVAILABILITY
This macro is available since SDL 3.2.0. Simple Directmedia Layer SDL 3.2.8 SDL_VERSIONNUM_MAJOR(3)