Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug 2017 - Adding some version macros like for SDL
Martin Gerhardy It would be great to get some version macros as we have them for SDL, too. Some function prototypes had changes for SDL_mixer 2.0, too. /** * This is the version number macro for the current SDL_mixer version. */ #define SDL_MIXER_COMPILEDVERSION \ SDL_VERSIONNUM(SDL_MIXER_MAJOR_VERSION, SDL_MIXER_MINOR_VERSION, SDL_MIXER_PATCHLEVEL) /** * This macro will evaluate to true if compiled with SDL_mixer at least X.Y.Z. */ #define SDL_MIXER_VERSION_ATLEAST(X, Y, Z) \ (SDL_MIXER_COMPILEDVERSION >= SDL_VERSIONNUM(X, Y, Z))
- Loading branch information