diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-10-18 10:11:48 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-10-18 10:11:48 +0000 |
commit | 5b612ec34cd7daf2f587fc621b2975767cbb3231 (patch) | |
tree | 03fedea839be174d9b9823466afceaa53e2f2605 /sys/dev/ic | |
parent | 21bbb16f8473257f1754fece2f601e2484e647eb (diff) |
Fix typo introduced when adding __OpenBSD__ checks
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/pdqreg.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/pdqreg.h b/sys/dev/ic/pdqreg.h index ced981cbb04..c681fc57a70 100644 --- a/sys/dev/ic/pdqreg.h +++ b/sys/dev/ic/pdqreg.h @@ -35,7 +35,7 @@ #ifndef _PDQREG_H #define _PDQREG_H -#if !defined(__NetBSD__) || defined(__OpenBSD__) +#if !defined(__NetBSD__) && !defined(__OpenBSD__) #include <stddef.h> #if defined(PDQTEST) && !defined(PDQ_NDEBUG) #include <assert.h> @@ -43,9 +43,9 @@ #else #define PDQ_ASSERT(x) do { } while(0) #endif -#else /* __NetBSD__ */ +#else /* __NetBSD__ || __OpenBSD__*/ /* - * Including user-land headers in kernel code is not allowed in NetBSD + * Including user-land headers in kernel code is not allowed in Net- or OpenBSD */ #define offsetof(type, member) ((size_t)(&((type *)0)->member)) |