Commit 191a91d4 authored by Steven Edwards's avatar Steven Edwards Committed by Alexandre Julliard

MSVC porting fixes.

parent 6ca75f8b
......@@ -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__ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment