network_core.h
changeset 810 7c51ba5a4368
parent 796 42a3669a939f
child 1051 c56a3ce9b64f
--- a/network_core.h	Mon Dec 27 10:24:38 2004 +0000
+++ b/network_core.h	Mon Dec 27 10:40:04 2004 +0000
@@ -88,7 +88,7 @@
 typedef struct ifreq IFREQ;
 #	define ioctlsocket ioctl
 #	define closesocket close
-#	define GET_LAST_ERROR() (errno)
+#	define GET_LAST_ERROR() (sock_errno())
 
 // Includes needed for OS/2 systems
 #	include <types.h>
@@ -103,6 +103,7 @@
 #	include <sys/time.h>
 #	include <netdb.h>
 #	include <nerrno.h>
+#	define INADDR_NONE 0xffffffff
 
 typedef unsigned long in_addr_t;
 #endif // OS/2