60#define SDL_MAJOR_VERSION 2
61#define SDL_MINOR_VERSION 0
62#define SDL_PATCHLEVEL 10
79#define SDL_VERSION(x) \
81 (x)->major = SDL_MAJOR_VERSION; \
82 (x)->minor = SDL_MINOR_VERSION; \
83 (x)->patch = SDL_PATCHLEVEL; \
94#define SDL_VERSIONNUM(X, Y, Z) \
95 ((X)*1000 + (Y)*100 + (Z))
100#define SDL_COMPILEDVERSION \
101 SDL_VERSIONNUM(SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL)
106#define SDL_VERSION_ATLEAST(X, Y, Z) \
107 (SDL_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z))
int SDL_GetRevisionNumber(void)
Get the revision number of SDL that is linked against your program.
void SDL_GetVersion(SDL_version *ver)
Get the version of SDL that is linked against your program.
const char * SDL_GetRevision(void)
Get the code revision of SDL that is linked against your program.
Information the version of SDL in use.