diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-07 21:05:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-07 23:43:57 +0300 |
commit | 326217c1f8bfd86730dea722b5f132833b39cb13 (patch) | |
tree | bf7cbc959a7273cd2f4738a77d7aeea12b7084cd /src/utils/dumplibs.cpp | |
parent | a4ee754a8c4893069f6555087efe33e6def86b4d (diff) | |
download | mv-326217c1f8bfd86730dea722b5f132833b39cb13.tar.gz mv-326217c1f8bfd86730dea722b5f132833b39cb13.tar.bz2 mv-326217c1f8bfd86730dea722b5f132833b39cb13.tar.xz mv-326217c1f8bfd86730dea722b5f132833b39cb13.zip |
Fix compilation with pugixml.
Diffstat (limited to 'src/utils/dumplibs.cpp')
-rw-r--r-- | src/utils/dumplibs.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/utils/dumplibs.cpp b/src/utils/dumplibs.cpp index 4efd647d8..8fb7036bf 100644 --- a/src/utils/dumplibs.cpp +++ b/src/utils/dumplibs.cpp @@ -39,7 +39,9 @@ PRAGMA45(GCC diagnostic pop) #include <curl/curl.h> +#ifdef ENABLE_LIBXML #include <libxml/xmlversion.h> +#endif // ENABLE_LIBXML #include "debug.h" @@ -109,7 +111,10 @@ void dumpLibs() { logger->log("Compiled with:"); logger->log(" zLib: %s", ZLIB_VERSION); +#ifdef ENABLE_LIBXML logger->log(" libxml2: %s", LIBXML_DOTTED_VERSION); +#endif // ENABLE_LIBXML + logger->log(" libcurl: %s", LIBCURL_VERSION); logger->log(" libpng: %s", PNG_LIBPNG_VER_STRING); PHYSFS_Version physfsVersion; |