+ MSVC10 adaptation

This commit is contained in:
kelson42 2012-11-18 16:11:26 +00:00
parent 4c79cfcf06
commit 1bb0a33dd0

View File

@ -27,7 +27,9 @@
#ifdef _WIN32
#include <WS2tcpip.h> // otherwise socklen_t is not a recognized type
#include <stdint4win.h>
#if (_MSC_VER < 1600)
#include "stdint4win.h"
#endif
#include <winsock2.h>
#include <Windows.h> // otherwise int is not a recognized type
typedef SSIZE_T ssize_t;