From 73ef1fdfb80bd346431fe74c1f23dc3f2b5f5e4b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 1 Mar 2017 19:32:00 +0300 Subject: Fix compilation without physfs if physfs not installed. --- src/utils/dumplibs.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 PRAGMACLANG6(GCC diagnostic pop) #include +#ifdef USE_PHYSFS PRAGMA45(GCC diagnostic push) PRAGMA45(GCC diagnostic ignored "-Wlong-long") #include PRAGMA45(GCC diagnostic pop) +#endif // USE_PHYSFS #include #include -- cgit v1.2.3-70-g09d2