From 236e08f9fb5c5d06c456d0b8e925a70f88094171 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 15 Jul 2013 09:55:27 +0000 Subject: [PATCH] try to fix webgl git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4425 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/netinc.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engine/common/netinc.h b/engine/common/netinc.h index a71af1644..4619572a9 100644 --- a/engine/common/netinc.h +++ b/engine/common/netinc.h @@ -1,12 +1,13 @@ #ifndef NACL -#define HAVE_IPV4 //says we can set and receive AF_INET ipv4 udp packets. +#define HAVE_IPV4 //says we can send and receive AF_INET ipv4 udp packets. #define HAVE_TCP //says we can use tcp too (either ipv4 or ipv6) #define HAVE_PACKET //if we have the socket api at all... #endif #ifdef FTE_TARGET_WEB #undef HAVE_PACKET //no udp packet interface. +#undef HAVE_TCP //we should probably use websockets instead. #endif #ifdef NACL @@ -141,6 +142,7 @@ #define EAFNOSUPPORT WSAEAFNOSUPPORT #else + #include #include #include #include @@ -148,7 +150,6 @@ #include #include #include - #include #include #include