diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-11-14 21:04:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-11-14 21:04:04 +0300 |
commit | a017980be4a11c7895249b761290a00b8af5e797 (patch) | |
tree | bb8623c8b06ad4fe98c8b41928dc3b3c721ee4bd | |
parent | 49cfca1d5fc1ec67768664b7f549174f837bbded (diff) | |
download | plus-a017980be4a11c7895249b761290a00b8af5e797.tar.gz plus-a017980be4a11c7895249b761290a00b8af5e797.tar.bz2 plus-a017980be4a11c7895249b761290a00b8af5e797.tar.xz plus-a017980be4a11c7895249b761290a00b8af5e797.zip |
Disable additional socket login in nacl.
-rw-r--r-- | src/net/sdltcpnet.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |