diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-10-07 21:03:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-10-07 21:03:25 +0300 |
commit | a5c11b12df43565613fe1fd6514404d2c9fef7a8 (patch) | |
tree | d75a3dca764f4900b397bf2bf452ad2339cffc63 /src/fs/virtfs/zipreader.cpp | |
parent | 70f8e7a7cc001fb191bf17510d15c143f51e9519 (diff) | |
download | plus-a5c11b12df43565613fe1fd6514404d2c9fef7a8.tar.gz plus-a5c11b12df43565613fe1fd6514404d2c9fef7a8.tar.bz2 plus-a5c11b12df43565613fe1fd6514404d2c9fef7a8.tar.xz plus-a5c11b12df43565613fe1fd6514404d2c9fef7a8.zip |
Disable warning -Wundef in zlib.h.
Diffstat (limited to 'src/fs/virtfs/zipreader.cpp')
-rw-r--r-- | src/fs/virtfs/zipreader.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/virtfs/zipreader.cpp b/src/fs/virtfs/zipreader.cpp index 2d473bec7..45390b48d 100644 --- a/src/fs/virtfs/zipreader.cpp +++ b/src/fs/virtfs/zipreader.cpp @@ -30,7 +30,10 @@ #include "utils/delete2.h" #include "utils/stringutils.h" +PRAGMA4(GCC diagnostic push) +PRAGMA4(GCC diagnostic ignored "-Wundef") #include <zlib.h> +PRAGMA4(GCC diagnostic pop) PRAGMA48(GCC diagnostic push) PRAGMA48(GCC diagnostic ignored "-Wshadow") #include <SDL_endian.h> |