diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-21 20:03:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-21 20:03:51 +0300 |
commit | 76667ef0fa911fc8bf37df72896645dbfbbc0763 (patch) | |
tree | 4868b15a1c7e9d74e3c2ece0fff49ae61ff49be7 /src/utils/dumplibs.cpp | |
parent | 9534d791fe73868c17ff3723d3eacee020a4a215 (diff) | |
download | manaverse-76667ef0fa911fc8bf37df72896645dbfbbc0763.tar.gz manaverse-76667ef0fa911fc8bf37df72896645dbfbbc0763.tar.bz2 manaverse-76667ef0fa911fc8bf37df72896645dbfbbc0763.tar.xz manaverse-76667ef0fa911fc8bf37df72896645dbfbbc0763.zip |
Add sdl mixer version into libs version dump.
Diffstat (limited to 'src/utils/dumplibs.cpp')
-rw-r--r-- | src/utils/dumplibs.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils/dumplibs.cpp b/src/utils/dumplibs.cpp index 8fb7036bf..34b63e71a 100644 --- a/src/utils/dumplibs.cpp +++ b/src/utils/dumplibs.cpp @@ -26,6 +26,7 @@ #include <png.h> #include <SDL_image.h> +#include <SDL_mixer.h> PRAGMACLANG6(GCC diagnostic push) PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast") #include <SDL_net.h> @@ -127,6 +128,7 @@ void dumpLibs() dumpCompiledSdlVersion("SDL", SDL); dumpCompiledSdlVersion("SDL_net", SDL_NET); dumpCompiledSdlVersion("SDL_image", SDL_IMAGE); + dumpCompiledSdlVersion("SDL_mixer", SDL_MIXER); dumpCompiledSdlVersion("SDL_ttf", SDL_TTF); logger->log("Linked with:"); @@ -154,6 +156,7 @@ void dumpLibs() #endif // USE_SDL2 dumpLinkedSdlVersion("SDL_net", SDLNet_Linked_Version()); dumpLinkedSdlVersion("SDL_image", IMG_Linked_Version()); + dumpLinkedSdlVersion("SDL_mixer", Mix_Linked_Version()); dumpLinkedSdlVersion("SDL_ttf", TTF_Linked_Version()); compareVersions("zLib", ZLIB_VERSION, zlibVersion()); @@ -170,6 +173,9 @@ void dumpLibs() compareSDLVersions("SDL_image", sdlVersionJoin(SDL_IMAGE), IMG_Linked_Version()); + compareSDLVersions("SDL_mixer", + sdlVersionJoin(SDL_MIXER), + Mix_Linked_Version()); compareSDLVersions("SDL_ttf", sdlVersionJoin(SDL_TTF), TTF_Linked_Version()); |