summaryrefslogtreecommitdiff
path: root/src/resources/mapreader.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-07 21:03:25 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-07 21:03:25 +0300
commita5c11b12df43565613fe1fd6514404d2c9fef7a8 (patch)
treed75a3dca764f4900b397bf2bf452ad2339cffc63 /src/resources/mapreader.cpp
parent70f8e7a7cc001fb191bf17510d15c143f51e9519 (diff)
downloadmanaverse-a5c11b12df43565613fe1fd6514404d2c9fef7a8.tar.gz
manaverse-a5c11b12df43565613fe1fd6514404d2c9fef7a8.tar.bz2
manaverse-a5c11b12df43565613fe1fd6514404d2c9fef7a8.tar.xz
manaverse-a5c11b12df43565613fe1fd6514404d2c9fef7a8.zip
Disable warning -Wundef in zlib.h.
Diffstat (limited to 'src/resources/mapreader.cpp')
-rw-r--r--src/resources/mapreader.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/mapreader.cpp b/src/resources/mapreader.cpp
index 4d0b89b3a..4eabd13ec 100644
--- a/src/resources/mapreader.cpp
+++ b/src/resources/mapreader.cpp
@@ -64,7 +64,10 @@
#include "utils/translation/podict.h"
+PRAGMA4(GCC diagnostic push)
+PRAGMA4(GCC diagnostic ignored "-Wundef")
#include <zlib.h>
+PRAGMA4(GCC diagnostic pop)
#include "debug.h"