summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-01 19:32:00 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-01 19:32:00 +0300
commit73ef1fdfb80bd346431fe74c1f23dc3f2b5f5e4b (patch)
tree28e45aee3998e26fd08a72b3708b67293359eaaf /src/utils
parentcef775241ecc876530dd0a9a12a5eb0fb5f770bd (diff)
downloadplus-73ef1fdfb80bd346431fe74c1f23dc3f2b5f5e4b.tar.gz
plus-73ef1fdfb80bd346431fe74c1f23dc3f2b5f5e4b.tar.bz2
plus-73ef1fdfb80bd346431fe74c1f23dc3f2b5f5e4b.tar.xz
plus-73ef1fdfb80bd346431fe74c1f23dc3f2b5f5e4b.zip
Fix compilation without physfs if physfs not installed.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/dumplibs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/dumplibs.cpp b/src/utils/dumplibs.cpp
index 9a7f42c0c..b53a6c753 100644
--- a/src/utils/dumplibs.cpp
+++ b/src/utils/dumplibs.cpp
@@ -32,10 +32,12 @@ PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast")
#include <SDL_net.h>
PRAGMACLANG6(GCC diagnostic pop)
#include <SDL_ttf.h>
+#ifdef USE_PHYSFS
PRAGMA45(GCC diagnostic push)
PRAGMA45(GCC diagnostic ignored "-Wlong-long")
#include <physfs.h>
PRAGMA45(GCC diagnostic pop)
+#endif // USE_PHYSFS
#include <zlib.h>
#include <curl/curl.h>