From b4d12ef96e4e8bd7891581f28a268bfc22e53611 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 19 Mar 2010 03:45:11 +0000 Subject: [PATCH] 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 --- engine/common/netinc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common/netinc.h b/engine/common/netinc.h index 04e97bcd0..b9685ac77 100644 --- a/engine/common/netinc.h +++ b/engine/common/netinc.h @@ -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