summaryrefslogtreecommitdiff
path: root/src/net/sdltcpnet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/sdltcpnet.h')
-rw-r--r--src/net/sdltcpnet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/sdltcpnet.h b/src/net/sdltcpnet.h
index ca3c3555f..e00a05f85 100644
--- a/src/net/sdltcpnet.h
+++ b/src/net/sdltcpnet.h
@@ -23,10 +23,13 @@
#include "localconsts.h"
+PRAGMACLANG5(GCC diagnostic push)
+PRAGMACLANG5(GCC diagnostic ignored "-Wzero-as-null-pointer-constant")
PRAGMA48(GCC diagnostic push)
PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL_net.h>
PRAGMA48(GCC diagnostic pop)
+PRAGMACLANG5(GCC diagnostic pop)
namespace TcpNet
{