summaryrefslogtreecommitdiff
path: root/src/utils/dumplibs.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-07 02:18:30 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-07 02:18:30 +0300
commite41d5dee07d1778d53e098de6862fe865798d5fb (patch)
tree9a9de2a0d1293b700f728d98b5e82e9ece658796 /src/utils/dumplibs.cpp
parentbd530fb98a1b3b8406396a6b8bc0823bf211f72d (diff)
downloadmanaverse-e41d5dee07d1778d53e098de6862fe865798d5fb.tar.gz
manaverse-e41d5dee07d1778d53e098de6862fe865798d5fb.tar.bz2
manaverse-e41d5dee07d1778d53e098de6862fe865798d5fb.tar.xz
manaverse-e41d5dee07d1778d53e098de6862fe865798d5fb.zip
Add possible SDL warning fix with gcc snapshot.
Diffstat (limited to 'src/utils/dumplibs.cpp')
-rw-r--r--src/utils/dumplibs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/dumplibs.cpp b/src/utils/dumplibs.cpp
index 40e558e4c..959337604 100644
--- a/src/utils/dumplibs.cpp
+++ b/src/utils/dumplibs.cpp
@@ -27,10 +27,10 @@
#include <png.h>
#include <SDL_image.h>
#include <SDL_mixer.h>
-PRAGMACLANG6(GCC diagnostic push)
-PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast")
+PRAGMACLANG6GCC(GCC diagnostic push)
+PRAGMACLANG6GCC(GCC diagnostic ignored "-Wold-style-cast")
#include <SDL_net.h>
-PRAGMACLANG6(GCC diagnostic pop)
+PRAGMACLANG6GCC(GCC diagnostic pop)
#include <SDL_ttf.h>
#include <zlib.h>