summaryrefslogtreecommitdiff
path: root/tests/SOCK_Connector_Test.cpp
diff options
context:
space:
mode:
authorsumedh <sumedh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-06 22:51:28 +0000
committersumedh <sumedh@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-11-06 22:51:28 +0000
commita7f77cfb74659f5cb763aef1ce732a560ae95fd9 (patch)
treebb01fdb2458859267bcc70a8870e54469fac7281 /tests/SOCK_Connector_Test.cpp
parent3d1dd682d2c35ea7b839b454d0f90232aee403ac (diff)
downloadATCD-a7f77cfb74659f5cb763aef1ce732a560ae95fd9.tar.gz
Added NETBSD to the list of platforms that dont have gethostent
Diffstat (limited to 'tests/SOCK_Connector_Test.cpp')
-rw-r--r--tests/SOCK_Connector_Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SOCK_Connector_Test.cpp b/tests/SOCK_Connector_Test.cpp
index e6c4bb6239b..4a78c9b5cd3 100644
--- a/tests/SOCK_Connector_Test.cpp
+++ b/tests/SOCK_Connector_Test.cpp
@@ -39,7 +39,7 @@ find_another_host (char other_host[])
ACE_OS::strcpy (other_host, "localhost"); // If all else fails
// These gethost-type things don't work everywhere.
-#if !defined (ACE_WIN32) && !defined (VXWORKS)
+#if !defined (ACE_WIN32) && !defined (VXWORKS) && !defined (ACE_NETBSD)
struct hostent *h;
struct utsname un;