summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-05-01 00:22:31 +0300
committerAndrei Karas <akaras@inbox.ru>2016-05-01 00:23:45 +0300
commit821fed1c2ddbab0d09d53b87b557ced62ad071a4 (patch)
treeb133e4fc8dc2f93a81c9cd52502837678de0f042 /src/net
parent05dc8b4ff061d0d21e2012904875f58611471071 (diff)
downloadmv-821fed1c2ddbab0d09d53b87b557ced62ad071a4.tar.gz
mv-821fed1c2ddbab0d09d53b87b557ced62ad071a4.tar.bz2
mv-821fed1c2ddbab0d09d53b87b557ced62ad071a4.tar.xz
mv-821fed1c2ddbab0d09d53b87b557ced62ad071a4.zip
Apply ignore pragma -Wold-style-cast only for clang > 3.7
Diffstat (limited to 'src/net')
-rw-r--r--src/net/sdltcpnet.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/sdltcpnet.h b/src/net/sdltcpnet.h
index c96baf37a..b67abfcc3 100644
--- a/src/net/sdltcpnet.h
+++ b/src/net/sdltcpnet.h
@@ -30,10 +30,10 @@
#pragma GCC diagnostic pop
#endif
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wold-style-cast"
+PRAGMACLANG6(GCC diagnostic push)
+PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast")
#include <SDL_net.h>
-#pragma GCC diagnostic pop
+PRAGMACLANG6(GCC diagnostic pop)
#include "localconsts.h"