summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-07 20:39:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-07 20:39:07 +0300
commitc2d2197d7d70dc1090bcdddca3dc04fc0a8d7744 (patch)
treef0a06acf9af3299dc6701d273b386681de1b0df3 /src/net
parentf86a584d8f19a06d06acaef3ad1f9d3eef4690ad (diff)
downloadplus-c2d2197d7d70dc1090bcdddca3dc04fc0a8d7744.tar.gz
plus-c2d2197d7d70dc1090bcdddca3dc04fc0a8d7744.tar.bz2
plus-c2d2197d7d70dc1090bcdddca3dc04fc0a8d7744.tar.xz
plus-c2d2197d7d70dc1090bcdddca3dc04fc0a8d7744.zip
Remove extra include SDL_stdinc.h.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/sdltcpnet.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/net/sdltcpnet.h b/src/net/sdltcpnet.h
index dda5f0aec..4730858e7 100644
--- a/src/net/sdltcpnet.h
+++ b/src/net/sdltcpnet.h
@@ -23,18 +23,6 @@
#include "localconsts.h"
-#ifdef USE_SDL2
-PRAGMA45(GCC diagnostic push)
-PRAGMA45(GCC diagnostic ignored "-Wswitch-default")
-#endif // USE_SDL2
-#include <SDL_stdinc.h>
-#if !defined(_SDL_stdinc_h) && !defined(SDL_stdinc_h_) && !defined(SDL_stdinc_h)
-#error need include SDL_stdinc.h
-#endif // !defined(_SDL_stdinc_h) && !defined(SDL_stdinc_h_)
-#ifdef USE_SDL2
-PRAGMA45(GCC diagnostic pop)
-#endif // USE_SDL2
-
#include <SDL_net.h>
namespace TcpNet