diff options
author | David Reid <dreid@apache.org> | 1999-10-11 20:25:08 +0000 |
---|---|---|
committer | David Reid <dreid@apache.org> | 1999-10-11 20:25:08 +0000 |
commit | a9c5b29052fcc8b569acbbb761e3c4187f96f89d (patch) | |
tree | 6a4a16a9a0b9061dbd1512d5c581acbdb3da26f9 /support/logresolve.c | |
parent | 25c184d3e7ef6d5d3073fa8bbfceffd4195e2323 (diff) | |
download | httpd-a9c5b29052fcc8b569acbbb761e3c4187f96f89d.tar.gz |
These changes allow the support programs to compile on BeOS.
The biggest change is in ab.c where the functions that BeOS needs that
aren't the standard format are hidden behind a new ab_* define. Tested
on FreeBSD and BeOS.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83964 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'support/logresolve.c')
-rw-r--r-- | support/logresolve.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/support/logresolve.c b/support/logresolve.c index f6436c5799..914c2ed2a4 100644 --- a/support/logresolve.c +++ b/support/logresolve.c @@ -52,6 +52,10 @@ static void cgethost(struct in_addr ipnum, char *string, int check); static int getline(char *s, int n); static void stats(FILE *output); +#ifdef BEOS +#define NO_ADDRESS NO_DATA +#endif + /* maximum line length */ #define MAXLINE 1024 @@ -99,7 +103,8 @@ struct nsrec { extern int h_errno; /* some machines don't have this in their headers */ #endif -/* largeste value for h_errno */ +/* largest value for h_errno */ + #define MAX_ERR (NO_ADDRESS) #define UNKNOWN_ERR (MAX_ERR+1) #define NO_REVERSE (MAX_ERR+2) |