From 9e130fe09e615321de59bede61dc9338d14dff00 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 17 Jun 2006 08:16:58 +0000 Subject: (svn r5292) -Fix: When using SIOCGIFCONF to detect network interfaces accomodate for the fact that struct sockaddr doesn't have fixed size in all implementations --- network_core.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'network_core.h') diff --git a/network_core.h b/network_core.h index 7a9dd4e42..f2373574c 100644 --- a/network_core.h +++ b/network_core.h @@ -32,14 +32,12 @@ #define EWOULDBLOCK WSAEWOULDBLOCK // Windows has some different names for some types.. typedef unsigned long in_addr_t; -typedef INTERFACE_INFO IFREQ; #endif // WIN32 // UNIX stuff #if defined(UNIX) # define SOCKET int # define INVALID_SOCKET -1 -typedef struct ifreq IFREQ; # if !defined(__MORPHOS__) && !defined(__AMIGA__) # define ioctlsocket ioctl # if !defined(BEOS_NET_SERVER) @@ -100,7 +98,6 @@ typedef struct ifreq IFREQ; #if defined(__OS2__) # define SOCKET int # define INVALID_SOCKET -1 -typedef struct ifreq IFREQ; # define ioctlsocket ioctl # define closesocket close # define GET_LAST_ERROR() (sock_errno()) -- cgit v1.2.3-54-g00ecf