aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-12-14 16:25:33 +0000
committerthilo <thilo@edf5b092-35ff-0310-97b2-ce42778d08ea>2007-12-14 16:25:33 +0000
commit1e7a5984c95f4538338de10d295f2af3edb44faf (patch)
tree003d20099242caa77b75fd140d52f5e70dab7de0
parentb76e1f4318ff4f9b0886e4a9124f0f30d314d489 (diff)
downloadioquake3-aero-1e7a5984c95f4538338de10d295f2af3edb44faf.tar.gz
ioquake3-aero-1e7a5984c95f4538338de10d295f2af3edb44faf.zip
Replace obsolete macro with some other macro. I hope this does not break too much.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1237 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/qcommon/net_ip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/net_ip.c b/code/qcommon/net_ip.c
index e8bf397..b35808c 100644
--- a/code/qcommon/net_ip.c
+++ b/code/qcommon/net_ip.c
@@ -756,7 +756,7 @@ void NET_GetLocalAddress( void ) {
if (sdl->sdl_type != IFT_LOOP) {
// Get the local interface address
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 "
"for interface '%s', errno = %d\n", inetInterface->ifr_name, errno);
} else {