MSVC porting fixes.

This commit is contained in:
Steven Edwards 2004-12-20 18:50:33 +00:00 committed by Alexandre Julliard
parent 6ca75f8bb7
commit 191a91d44a
1 changed files with 4 additions and 1 deletions

View File

@ -45,8 +45,11 @@
# include <sys/socket.h>
#endif
#ifdef __MINGW32__
#if defined(__MINGW32__) || defined (_MSC_VER)
#include "winsock2.h"
#ifndef MSG_WAITALL
#define MSG_WAITALL 0
#endif
#else
#define closesocket close
#endif /* __MINGW32__ */