diff options
Diffstat (limited to 'network_core.h')
-rw-r--r-- | network_core.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/network_core.h b/network_core.h index c426b1957..d6a408c33 100644 --- a/network_core.h +++ b/network_core.h @@ -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 |