From 99b9331a4f693e66f880734cd446190fcf14508d Mon Sep 17 00:00:00 2001 From: Alfred Perlstein Date: Thu, 30 May 2002 07:32:58 +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/ct/ct_machdep.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev/ct') diff --git a/sys/dev/ct/ct_machdep.h b/sys/dev/ct/ct_machdep.h index f407aa5b6cd9..dd3cc7adb9b8 100644 --- a/sys/dev/ct/ct_machdep.h +++ b/sys/dev/ct/ct_machdep.h @@ -208,9 +208,9 @@ ct_cmdp_write_1(chp, val) CT_BUS_WEIGHT(chp) } -#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 /* !_CT_MACHDEP_H_ */ -- cgit v1.3