Make sure SOCKET exists on non-windows. Apparently its 64bit in win64, so we'll need to use a special type throughout (read: not int).
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3520 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
8765f5cd62
commit
b4d12ef96e
1 changed files with 1 additions and 1 deletions
|
@ -92,6 +92,7 @@
|
||||||
#define ioctlsocket ioctl
|
#define ioctlsocket ioctl
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define SOCKET int
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
@ -102,7 +103,6 @@
|
||||||
#define qerrno errno
|
#define qerrno errno
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifndef INVALID_SOCKET
|
#ifndef INVALID_SOCKET
|
||||||
#define INVALID_SOCKET -1
|
#define INVALID_SOCKET -1
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue