mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
quick hack to get win32 QTV to compile again
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2159 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
2a1d816aed
commit
044771effe
1 changed files with 4 additions and 0 deletions
|
@ -242,7 +242,11 @@ qboolean Net_ConnectToTCPServer(sv_t *qtv, char *ip)
|
|||
|
||||
if (connect(qtv->sourcesock, (struct sockaddr *)&qtv->serveraddress, sizeof(qtv->serveraddress)) == INVALID_SOCKET)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
if (qerrno != WSAEINPROGRESS)
|
||||
#else
|
||||
if (qerrno != EINPROGRESS)
|
||||
#endif
|
||||
{
|
||||
closesocket(qtv->sourcesock);
|
||||
qtv->sourcesock = INVALID_SOCKET;
|
||||
|
|
Loading…
Reference in a new issue