summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-22 04:10:48 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-22 04:10:48 +0300
commit67db13cb15fc4046b0b4c62be4ee5df284523cf6 (patch)
tree2bbff58edee6a1e5638f29b8acf3babf59297c2a
parentdf2ebd7874bf78e5226c03e8045fcf9a19daf4ad (diff)
downloadmv-67db13cb15fc4046b0b4c62be4ee5df284523cf6.tar.gz
mv-67db13cb15fc4046b0b4c62be4ee5df284523cf6.tar.bz2
mv-67db13cb15fc4046b0b4c62be4ee5df284523cf6.tar.xz
mv-67db13cb15fc4046b0b4c62be4ee5df284523cf6.zip
Add libphysfs version into dump libs.
-rw-r--r--src/utils/dumplibs.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/utils/dumplibs.cpp b/src/utils/dumplibs.cpp
index 34e5329cc..915e46e3d 100644
--- a/src/utils/dumplibs.cpp
+++ b/src/utils/dumplibs.cpp
@@ -29,6 +29,7 @@ PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast")
#include <SDL_net.h>
PRAGMACLANG6(GCC diagnostic pop)
#include <SDL_ttf.h>
+#include <physfs.h>
#include <zlib.h>
#include <curl/curl.h>
@@ -63,6 +64,12 @@ void dumpLibs()
logger->log(" libxml2: %s", LIBXML_DOTTED_VERSION);
logger->log(" libcurl: %s", LIBCURL_VERSION);
logger->log(" libpng: %s", PNG_LIBPNG_VER_STRING);
+ PHYSFS_Version physfsVersion;
+ PHYSFS_VERSION(&physfsVersion);
+ logger->log(" libphysfs: %d.%d.%d",
+ physfsVersion.major,
+ physfsVersion.minor,
+ physfsVersion.patch);
dumpCompiledSdlVersion("SDL", SDL);
dumpCompiledSdlVersion("SDL_net", SDL_NET);
dumpCompiledSdlVersion("SDL_image", SDL_IMAGE);
@@ -72,6 +79,11 @@ void dumpLibs()
#if ZLIB_VERNUM >= 0x1020
logger->log(" zLib: %s", zlibVersion());
#endif // ZLIB_VERNUM >= 0x1020
+ PHYSFS_getLinkedVersion(&physfsVersion);
+ logger->log(" libphysfs: %d.%d.%d",
+ physfsVersion.major,
+ physfsVersion.minor,
+ physfsVersion.patch);
#ifdef LIBXML_TEST_VERSION
LIBXML_TEST_VERSION
#endif // LIBXML_TEST_VERSION