(svn r1262) -Fix: [1088996] kill some warnings for MinGW (luzi82)

This commit is contained in:
darkvater
2004-12-23 20:23:05 +00:00
parent c330e4203e
commit ffed7d6834
3 changed files with 9 additions and 10 deletions

View File

@@ -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