diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-01 19:32:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-01 19:32:00 +0300 |
commit | 73ef1fdfb80bd346431fe74c1f23dc3f2b5f5e4b (patch) | |
tree | 28e45aee3998e26fd08a72b3708b67293359eaaf | |
parent | cef775241ecc876530dd0a9a12a5eb0fb5f770bd (diff) | |
download | manaverse-73ef1fdfb80bd346431fe74c1f23dc3f2b5f5e4b.tar.gz manaverse-73ef1fdfb80bd346431fe74c1f23dc3f2b5f5e4b.tar.bz2 manaverse-73ef1fdfb80bd346431fe74c1f23dc3f2b5f5e4b.tar.xz manaverse-73ef1fdfb80bd346431fe74c1f23dc3f2b5f5e4b.zip |
Fix compilation without physfs if physfs not installed.
-rw-r--r-- | src/utils/dumplibs.cpp | 2 |
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> |