summaryrefslogtreecommitdiff
path: root/src/net/sdltcpnet.cpp
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.cpp
parent24179041d619875bda96eb94307b1f3dd64e6add (diff)
downloadplus-7f2484d82112851dbeba83afd18790a58b03599d.tar.gz
plus-7f2484d82112851dbeba83afd18790a58b03599d.tar.bz2
plus-7f2484d82112851dbeba83afd18790a58b03599d.tar.xz
plus-7f2484d82112851dbeba83afd18790a58b03599d.zip
Initial porting to NACL by Vasily_Makarov.
Diffstat (limited to 'src/net/sdltcpnet.cpp')
-rw-r--r--src/net/sdltcpnet.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/sdltcpnet.cpp b/src/net/sdltcpnet.cpp
index 4ea659ecf..4d708ea68 100644
--- a/src/net/sdltcpnet.cpp
+++ b/src/net/sdltcpnet.cpp
@@ -18,6 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#if !defined __native_client__
+
#include "net/sdltcpnet.h"
#if defined __linux__ || defined __linux
@@ -150,3 +152,5 @@ void TcpNet::freeSocketSet(const TcpNet::SocketSet set)
{
SDLNet_FreeSocketSet(set);
}
+
+#endif // __native_client__