mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-12-13 21:51:09 +00:00
Replace obsolete macro with some other macro. I hope this does not break too much.
This commit is contained in:
parent
99c8676383
commit
662b67c733
1 changed files with 1 additions and 1 deletions
|
@ -756,7 +756,7 @@ void NET_GetLocalAddress( void ) {
|
||||||
if (sdl->sdl_type != IFT_LOOP) {
|
if (sdl->sdl_type != IFT_LOOP) {
|
||||||
// Get the local interface address
|
// Get the local interface address
|
||||||
strncpy(ifr.ifr_name, inetInterface->ifr_name, sizeof(ifr.ifr_name));
|
strncpy(ifr.ifr_name, inetInterface->ifr_name, sizeof(ifr.ifr_name));
|
||||||
if (ioctl(interfaceSocket, OSIOCGIFADDR, (caddr_t)&ifr) < 0) {
|
if (ioctl(interfaceSocket, SIOCGIFADDR, (caddr_t)&ifr) < 0) {
|
||||||
Com_Printf("NET_GetLocalAddress: Unable to get local address "
|
Com_Printf("NET_GetLocalAddress: Unable to get local address "
|
||||||
"for interface '%s', errno = %d\n", inetInterface->ifr_name, errno);
|
"for interface '%s', errno = %d\n", inetInterface->ifr_name, errno);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue