Fixed compilation with latest mingw64
This commit is contained in:
@@ -42,9 +42,9 @@ private:
|
||||
// convert the socket into non-blocking state
|
||||
bool SetNonBlocking(int sock);
|
||||
// socket handle
|
||||
#ifdef WIN32
|
||||
#if (defined WIN32) && (!defined __GNUG__)
|
||||
SOCKET mfd;
|
||||
#elif LINUX || PSP
|
||||
#elif LINUX || PSP || __GNUG__
|
||||
int mfd;
|
||||
#endif
|
||||
};
|
||||
|
||||
@@ -112,6 +112,7 @@ enum {
|
||||
#endif // CONSOLE_CONFIG
|
||||
|
||||
#if (defined WIN32) && (!defined LINUX)
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#endif
|
||||
#if defined(LINUX) && (!defined WIN32) || defined(IOS) || defined (ANDROID)
|
||||
|
||||
Reference in New Issue
Block a user