mirror of
https://github.com/glest/glest-source.git
synced 2025-08-19 06:31:19 +02:00
- bugfix for vc++ compile (added #define for mingw)
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user