summaryrefslogtreecommitdiff
path: root/ace/INET_Addr.cpp
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-01-29 20:52:16 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-01-29 20:52:16 +0000
commit22c6ecbd0dd7cf14bb3af73841e9d433f0c93733 (patch)
tree49ea2137d9c1b25f9d292f9fdaaa3e7732df251c /ace/INET_Addr.cpp
parente98cab44b71b4ec780fe2f407cf039f69e639b3f (diff)
downloadATCD-22c6ecbd0dd7cf14bb3af73841e9d433f0c93733.tar.gz
ChangeLogTag:Fri Jan 29 14:49:37 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'ace/INET_Addr.cpp')
-rw-r--r--ace/INET_Addr.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/INET_Addr.cpp b/ace/INET_Addr.cpp
index f78adcb62b3..7a1628f518e 100644
--- a/ace/INET_Addr.cpp
+++ b/ace/INET_Addr.cpp
@@ -423,7 +423,11 @@ ACE_INET_Addr::get_host_name (ASYS_TCHAR hostname[], size_t len) const
return -1;
}
#else
+# if !defined(_UNICOS)
int a_len = sizeof this->inet_addr_.sin_addr.s_addr;
+# else /* _UNICOS */
+ int a_len = sizeof this->inet_addr_.sin_addr;
+# endif /* ! _UNICOS */
int error = 0;
#if defined (CHORUS)