1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2010-03-19 03:45:11 +00:00
parent 8765f5cd62
commit b4d12ef96e

View file

@ -92,6 +92,7 @@
#define ioctlsocket ioctl
#endif
#define SOCKET int
#endif
#if defined(_WIN32)
@ -102,7 +103,6 @@
#define qerrno errno
#endif
#ifndef INVALID_SOCKET
#define INVALID_SOCKET -1
#endif