* (bug 3268) Replace Mac OS X Carbon API calls with native ones (thanks

to i3enedek).
* remove some spammy Mac OS X printf's regarding local network detection
* replaced a #warning for non-OS X PPC systems with a call to
  msync(..., MS_INVALIDATE).  This needs testing.
This commit is contained in:
Tony J. White = 2007-07-20 14:34:44 +00:00
parent f3e1a64c04
commit e8bbb1f2d1
4 changed files with 11 additions and 23 deletions

View file

@ -382,8 +382,6 @@ void NET_GetLocalAddress( void ) {
int interfaceSocket;
int family;
Com_Printf("NET_GetLocalAddress: Querying for network interfaces\n");
// Set this early so we can just return if there is an error
numIP = 0;
@ -405,7 +403,6 @@ void NET_GetLocalAddress( void ) {
return;
}
linkInterface = (struct ifreq *) ifc.ifc_buf;
while ((char *) linkInterface < &ifc.ifc_buf[ifc.ifc_len]) {
unsigned int nameLength;
@ -469,7 +466,6 @@ void NET_GetLocalAddress( void ) {
}
linkInterface = IFR_NEXT(linkInterface);
}
Com_Printf("NET_GetLocalAddress: DONE querying for network interfaces\n");
close(interfaceSocket);
}