network_core.h
changeset 792 d8a4164fdb14
parent 789 85be14beeb57
child 796 42a3669a939f
--- a/network_core.h	Thu Dec 23 19:50:01 2004 +0000
+++ b/network_core.h	Thu Dec 23 20:23:05 2004 +0000
@@ -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