summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2022-10-05 11:46:48 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2022-10-05 11:46:48 +0200
commita0a1c88566526496425aa49046f1caa053ee9247 (patch)
tree72c2d6396a883f770e5f3267042b101ea00eaed1
parent1520b28877aaf350ebd232418d66c751efbeb618 (diff)
downloadATCD-a0a1c88566526496425aa49046f1caa053ee9247.tar.gz
VxWorks 7 inet_aton returns 0 on failure, so we don't need the special VxWorks code anymore
* ACE/ace/OS_NS_arpa_inet.cpp:
-rw-r--r--ACE/ace/OS_NS_arpa_inet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ACE/ace/OS_NS_arpa_inet.cpp b/ACE/ace/OS_NS_arpa_inet.cpp
index b0f7125ca2f..8b20b1bbfaf 100644
--- a/ACE/ace/OS_NS_arpa_inet.cpp
+++ b/ACE/ace/OS_NS_arpa_inet.cpp
@@ -85,7 +85,7 @@ ACE_OS::inet_aton (const char *host_name, struct in_addr *addr)
return 1;
}
# endif // ACE_LACKS_INET_ADDR
-#elif defined (ACE_VXWORKS)
+#elif defined (ACE_VXWORKS) && (ACE_VXWORKS < 0x700)
// 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);