summaryrefslogtreecommitdiff
path: root/src/net/sdltcpnet.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-29 23:36:53 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-29 23:39:29 +0300
commit7f2484d82112851dbeba83afd18790a58b03599d (patch)
tree6449022bbae8a55825febc7b08e3d4095f1de64f /src/net/sdltcpnet.h
parent24179041d619875bda96eb94307b1f3dd64e6add (diff)
downloadmanaplus-7f2484d82112851dbeba83afd18790a58b03599d.tar.gz
manaplus-7f2484d82112851dbeba83afd18790a58b03599d.tar.bz2
manaplus-7f2484d82112851dbeba83afd18790a58b03599d.tar.xz
manaplus-7f2484d82112851dbeba83afd18790a58b03599d.zip
Initial porting to NACL by Vasily_Makarov.
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 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