From fce4fb7fb3d0aee04b4b8a2830e0892161320429 Mon Sep 17 00:00:00 2001 From: David Reid Date: Sat, 27 Jan 2001 20:03:23 +0000 Subject: [PATCH] BeOS BONE shouldn't be using this BeOS R5 check, so alter the check to make it 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/util.c b/server/util.c index fd5a82de40d..62bd5eeadec 100644 --- a/server/util.c +++ b/server/util.c @@ -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) -- 2.47.2