From a017980be4a11c7895249b761290a00b8af5e797 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 14 Nov 2013 21:04:04 +0300 Subject: Disable additional socket login in nacl. --- src/net/sdltcpnet.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net/sdltcpnet.cpp') diff --git a/src/net/sdltcpnet.cpp b/src/net/sdltcpnet.cpp index 4ea659ecf..b891ee3e5 100644 --- a/src/net/sdltcpnet.cpp +++ b/src/net/sdltcpnet.cpp @@ -89,6 +89,7 @@ int TcpNet::resolveHost(IPaddress *const address, const char *const host, TcpNet::Socket TcpNet::open(IPaddress *const ip) { const TcpNet::Socket sock = SDLNet_TCP_Open(ip); +#ifndef __native_client__ if (sock && ip) { const TCPsocketHack *const hack @@ -118,6 +119,7 @@ TcpNet::Socket TcpNet::open(IPaddress *const ip) } } } +#endif return sock; } -- cgit v1.2.3-70-g09d2