summaryrefslogtreecommitdiffstats
path: root/tderesources/groupwise/soap/stdsoap2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tderesources/groupwise/soap/stdsoap2.cpp')
-rw-r--r--tderesources/groupwise/soap/stdsoap2.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tderesources/groupwise/soap/stdsoap2.cpp b/tderesources/groupwise/soap/stdsoap2.cpp
index dfe0afc75..959878588 100644
--- a/tderesources/groupwise/soap/stdsoap2.cpp
+++ b/tderesources/groupwise/soap/stdsoap2.cpp
@@ -2996,7 +2996,7 @@ tcp_gethost(struct soap *soap, const char *addr, struct in_addr *inaddr)
strncpy(addrcopy, addr, strlen(addr)+1);
iadd = inet_addr(addrcopy);
#else
-#if defined(_AIXVERSION_431) || defined(__osf__)
+#if defined(_AIXVERSION_431)
struct hostent_data ht_data;
#endif
iadd = inet_addr(addr);
@@ -3011,7 +3011,7 @@ tcp_gethost(struct soap *soap, const char *addr, struct in_addr *inaddr)
#if defined(__GLIBC__)
if (gethostbyname_r(addr, &hostent, soap->buf, SOAP_BUFLEN, &host, &soap->errnum) < 0)
host = NULL;
-#elif defined(_AIXVERSION_431) || defined(__osf__)
+#elif defined(_AIXVERSION_431)
memset((void*)&ht_data, 0, sizeof(ht_data));
if (gethostbyname_r(addr, &hostent, &ht_data) < 0)
{ host = NULL;