summaryrefslogtreecommitdiff
path: root/ace/OS_NS_arpa_inet.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2006-01-24 11:48:23 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2006-01-24 11:48:23 +0000
commit179b77e3c58ac55047b79c4bfa2108c03cfa9af3 (patch)
treed29b901d24cc984d2c0c37a8bb1a45d01cf8641d /ace/OS_NS_arpa_inet.cpp
parent663386bf8a1234feb08f99e348bc2d1788dddf0d (diff)
downloadATCD-179b77e3c58ac55047b79c4bfa2108c03cfa9af3.tar.gz
ChangeLogTag: Tue Jan 24 10:33:12 UTC 2006 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/OS_NS_arpa_inet.cpp')
-rw-r--r--ace/OS_NS_arpa_inet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/OS_NS_arpa_inet.cpp b/ace/OS_NS_arpa_inet.cpp
index cf02135db3c..94c54edfe4f 100644
--- a/ace/OS_NS_arpa_inet.cpp
+++ b/ace/OS_NS_arpa_inet.cpp
@@ -36,7 +36,7 @@ ACE_OS::inet_aton (const char *host_name, struct in_addr *addr)
addr->s_addr = ip_addr; // Network byte ordered
return 1;
}
-#elif defined (VXWORKS)
+#elif defined (ACE_VXWORKS) && (ACE_VXWORKS <= 0x620)
// inet_aton() returns OK (0) on success and ERROR (-1) on failure.
// Must reset errno first. Refer to WindRiver SPR# 34949, SPR# 36026
::errnoSet(0);