28 #ifndef SDL_version_h_
29 #define SDL_version_h_
60 #define SDL_MAJOR_VERSION 2
61 #define SDL_MINOR_VERSION 0
62 #define SDL_PATCHLEVEL 18
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))
SDL_DEPRECATED int SDL_GetRevisionNumber(void)
void SDL_GetVersion(SDL_version *ver)
const char * SDL_GetRevision(void)