diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-18 18:40:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-18 18:40:59 +0300 |
commit | 31cce4c22b369148f77d7092903af9462d8151c8 (patch) | |
tree | bd11e598db5ff6e17d3f0b283c44e333ac37d696 /src/net/sdltcpnet.cpp | |
parent | e6afa441a57718205c1f62bcbc0a5443fd513aa3 (diff) | |
download | manaverse-31cce4c22b369148f77d7092903af9462d8151c8.tar.gz manaverse-31cce4c22b369148f77d7092903af9462d8151c8.tar.bz2 manaverse-31cce4c22b369148f77d7092903af9462d8151c8.tar.xz manaverse-31cce4c22b369148f77d7092903af9462d8151c8.zip |
Fix code style.
Diffstat (limited to 'src/net/sdltcpnet.cpp')
-rw-r--r-- | src/net/sdltcpnet.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/sdltcpnet.cpp b/src/net/sdltcpnet.cpp index 2bbb9837a..ebe165125 100644 --- a/src/net/sdltcpnet.cpp +++ b/src/net/sdltcpnet.cpp @@ -44,6 +44,9 @@ #include "debug.h" +#if !defined(__native_client__) \ + && (defined(TCP_THIN_LINEAR_TIMEOUTS) \ + || defined(TCP_THIN_DUPACK)) // because actual struct is hidden in SDL_net we reinroducing it here struct TCPsocketHack final { @@ -53,6 +56,7 @@ struct TCPsocketHack final IPaddress localAddress; int sflag; }; +#endif void TcpNet::init() { |