diff options
author | Steve Murphree <smurph@cvs.openbsd.org> | 2000-12-31 22:53:59 +0000 |
---|---|---|
committer | Steve Murphree <smurph@cvs.openbsd.org> | 2000-12-31 22:53:59 +0000 |
commit | d3264157fabef85962944f88a575e0184cbbc0ac (patch) | |
tree | ae368e9bdd6efb96e5e0265ab61adb6b3e9ad910 /usr.sbin/named | |
parent | b2ae633ae83b29db4748a6bec75780fa79b3c22c (diff) |
fix __m88k__ definitions.
Diffstat (limited to 'usr.sbin/named')
-rw-r--r-- | usr.sbin/named/conf/portability.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/named/conf/portability.h b/usr.sbin/named/conf/portability.h index ad6e8621db2..7ae3e2957bc 100644 --- a/usr.sbin/named/conf/portability.h +++ b/usr.sbin/named/conf/portability.h @@ -190,7 +190,7 @@ #if defined(_POSIX_SOURCE) || defined(__sgi) || defined(__ultrix) || \ defined(__hpux) || (defined(BSD) && (BSD >= 199103)) || \ - defined(sun) || defined(__m88k__) + defined(sun) || (defined(__m88k__) && !defined(__OpenBSD__)) # define USE_POSIX #endif @@ -602,7 +602,7 @@ extern u_long htonl __P((u_long)), ntohl __P((u_long)); /* * Some systems need _res to be linked into text rather than bss. */ -#if defined(__m88k__) +#if defined(__m88k__) && !defined(__OpenBSD__) # define __BIND_RES_TEXT #endif @@ -611,7 +611,7 @@ extern u_long htonl __P((u_long)), ntohl __P((u_long)); * get/settimeofday as only one argument seems to be accepted * by the compiler. NULL generates compile errors */ -#if defined(__m88k__) && defined(__unix__) +#if defined(__m88k__) && defined(__unix__) && !defined(__OpenBSD__) # define gettimeofday(tp, tzp) gettimeofday(tp) # define settimeofday(tp, tzp) settimeofday(tp) #endif |