From cf295fd4a0f6a67861dc0809060376d1d1bf7fb7 Mon Sep 17 00:00:00 2001 From: alfred Date: Thu, 30 May 2002 07:13:40 +0000 Subject: Check for defined(__i386__) instead of just defined(i386) since the compiler will be updated to only define(__i386__) for ANSI cleanliness. --- sys/dev/nsp/nspvar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/nsp/nspvar.h') diff --git a/sys/dev/nsp/nspvar.h b/sys/dev/nsp/nspvar.h index 1d331b1..db8e4a8 100644 --- a/sys/dev/nsp/nspvar.h +++ b/sys/dev/nsp/nspvar.h @@ -105,9 +105,9 @@ void nspattachsubr(struct nsp_softc *); int nspprint(void *, const char *); int nspintr(void *); -#if defined(i386) +#if defined(__i386__) #define SOFT_INTR_REQUIRED(slp) (softintr((slp)->sl_irq)) -#else /* !i386 */ +#else /* !__i386__ */ #define SOFT_INTR_REQUIRED(slp) -#endif /* !i386 */ +#endif /* !__i386__ */ #endif /* !_NSPVAR_H_ */ -- cgit v1.1