From 1e6056400d6d93a7045ffc6be5546c7468a243f3 Mon Sep 17 00:00:00 2001 From: havoc Date: Tue, 24 Aug 2010 17:16:29 +0000 Subject: [PATCH] fix previous warning fix that only worked properly for MINGW git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10417 d7cf8633-e32d-0410-b094-e92efae38249 --- lhnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lhnet.c b/lhnet.c index aa6cbc94..0d32a0c5 100644 --- a/lhnet.c +++ b/lhnet.c @@ -839,7 +839,7 @@ void LHNET_SleepUntilPacket_Microseconds(int microseconds) { if (lastfd < s->inetsocket) lastfd = s->inetsocket; -#ifdef WIN32 +#if defined(WIN32) && !defined(_MSC_VER) FD_SET((int)s->inetsocket, &fdreadset); #else FD_SET((unsigned int)s->inetsocket, &fdreadset); -- 2.39.2