1
0
Fork 0
forked from fte/fteqw

Compile error.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5503 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-08-03 02:28:31 +00:00
parent 707fba95cd
commit 5066a8b1b5

View file

@ -113,6 +113,10 @@
#ifdef IPPROTO_IPV6
#define HAVE_IPV6
#endif
#ifndef SOCK_CLOEXEC
#define SOCK_CLOEXEC 0
#endif
#else
#include <sys/time.h>
#include <sys/types.h>
@ -159,6 +163,10 @@
// #endif
#define SOCKET int
#ifndef SOCK_CLOEXEC
#define SOCK_CLOEXEC 0
#endif
#endif
#if defined(_WIN32)
@ -381,8 +389,4 @@ vfsfile_t *FS_OpenTCPSocket(SOCKET socket, qboolean conpending, const char *peer
#endif
vfsfile_t *FS_OpenTCP(const char *name, int defaultport);
/*#ifndef SOCK_CLOEXEC
#define SOCK_CLOEXEC naught
#endif*/
#endif //NETINC_INCLUDED