forked from mirror/OpenTTD
(svn r1262) -Fix: [1088996] kill some warnings for MinGW (luzi82)
This commit is contained in:
@@ -12,7 +12,11 @@
|
||||
# include <windows.h>
|
||||
# include <winsock2.h>
|
||||
# include <ws2tcpip.h>
|
||||
# pragma comment (lib, "ws2_32.lib")
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#pragma comment (lib, "ws2_32.lib")
|
||||
#endif //_MSC_VER
|
||||
|
||||
# define ENABLE_NETWORK // On windows, the network is always enabled
|
||||
# define GET_LAST_ERROR() WSAGetLastError()
|
||||
# define EWOULDBLOCK WSAEWOULDBLOCK
|
||||
|
Reference in New Issue
Block a user