- bugfix for vc++ compile (added #define for mingw)

This commit is contained in:
Mark Vejvoda 2010-12-07 22:29:31 +00:00
parent b605c65aa9
commit 7f0a179340
1 changed files with 6 additions and 1 deletions

View File

@ -25,7 +25,12 @@
using std::string;
#ifdef WIN32
#include <winsock2.h>
#ifdef __MINGW32__
#include <winsock2.h>
#else
#include <winsock.h>
#endif
typedef SOCKET PLATFORM_SOCKET;
#else
#include <unistd.h>