diff options
author | 2000-12-31 22:53:58 +0000 | |
---|---|---|
committer | 2000-12-31 22:53:58 +0000 | |
commit | 6218fca8d564965718f1c3ea632740eda320e4ab (patch) | |
tree | 091e60758a3ffd07d717b2886498a7d5b1fdc951 | |
parent | ifdef -> if (diff) | |
download | wireguard-openbsd-6218fca8d564965718f1c3ea632740eda320e4ab.tar.xz wireguard-openbsd-6218fca8d564965718f1c3ea632740eda320e4ab.zip |
fix __m88k__ definitions.
-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 |