]> granicus.if.org Git - apache/commitdiff
BeOS BONE shouldn't be using this BeOS R5 check, so alter the check to make it
authorDavid Reid <dreid@apache.org>
Sat, 27 Jan 2001 20:03:23 +0000 (20:03 +0000)
committerDavid Reid <dreid@apache.org>
Sat, 27 Jan 2001 20:03:23 +0000 (20:03 +0000)
work correctly.  Shouldn't this be APR'ized?

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87872 13f79535-47bb-0310-9956-ffa450edef68

server/util.c

index fd5a82de40d94c76111903ea808f5728dfd11a42..62bd5eeadec2fe6f21857e911d8fa4627145829e 100644 (file)
@@ -1782,7 +1782,7 @@ char *ap_get_local_host(apr_pool_t *a)
     char *server_hostname = NULL;
     struct hostent *p;
 
-#ifdef BEOS
+#ifdef BEOS_R5
     if (gethostname(str, sizeof(str) - 1) == 0)
 #else
     if (gethostname(str, sizeof(str) - 1) != 0)