diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-29 23:36:53 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-29 23:39:29 +0300 |
commit | 7f2484d82112851dbeba83afd18790a58b03599d (patch) | |
tree | 6449022bbae8a55825febc7b08e3d4095f1de64f /src/net/sdltcpnet.h | |
parent | 24179041d619875bda96eb94307b1f3dd64e6add (diff) | |
download | manaverse-7f2484d82112851dbeba83afd18790a58b03599d.tar.gz manaverse-7f2484d82112851dbeba83afd18790a58b03599d.tar.bz2 manaverse-7f2484d82112851dbeba83afd18790a58b03599d.tar.xz manaverse-7f2484d82112851dbeba83afd18790a58b03599d.zip |
Initial porting to NACL by Vasily_Makarov.
Diffstat (limited to 'src/net/sdltcpnet.h')
-rw-r--r-- | src/net/sdltcpnet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/sdltcpnet.h b/src/net/sdltcpnet.h index a61c218b8..04c80e71a 100644 --- a/src/net/sdltcpnet.h +++ b/src/net/sdltcpnet.h @@ -21,6 +21,8 @@ #ifndef NET_SDLTCPNET_H #define NET_SDLTCPNET_H +#if !defined __native_client__ + #include <SDL_net.h> #include "localconsts.h" @@ -58,4 +60,5 @@ namespace TcpNet void freeSocketSet(const TcpNet::SocketSet set); } // namespace TcpNet +#endif // __native_client__ #endif // NET_SDLTCPNET_H |