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:
parent
707fba95cd
commit
5066a8b1b5
1 changed files with 8 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue