summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2015-03-18 19:12:21 -0400
committerSteve Huston <shuston@riverace.com>2015-03-18 19:12:21 -0400
commiteb25730817796548138c8fd68d53a155ffd95ad1 (patch)
tree74c55cef9f4833a73f7e44e256b10679ab39aafd
parent351bd5afcb591388dca4805e2c67fd384a169fed (diff)
downloadATCD-eb25730817796548138c8fd68d53a155ffd95ad1.tar.gz
Work around AIX 5.1 MAX_IFS system macro
-rw-r--r--ACE/ace/Sock_Connect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/Sock_Connect.cpp b/ACE/ace/Sock_Connect.cpp
index fd4c84e0af6..9a7004ec553 100644
--- a/ACE/ace/Sock_Connect.cpp
+++ b/ACE/ace/Sock_Connect.cpp
@@ -1430,10 +1430,10 @@ return 0;
// algorithm
// Probably hard to put this many ifs in a unix box..
- int const MAX_IF = 50;
+ int const MAX_INTERFACES = 50;
// HACK - set to an unreasonable number
- int const num_ifs = MAX_IF;
+ int const num_ifs = MAX_INTERFACES;
struct ifconf ifcfg;
size_t ifreq_size = num_ifs * sizeof (struct ifreq);