From 1529cb60b2652030598008c151678100ffc3f9ac Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Thu, 6 May 2004 17:31:17 +0000 Subject: BugZilla #601: Fixing makedepend choking on floating point exception because CHAR_BIT is defined to __CHAR_BIT__ which is a compiler intrinsic define. BugZilla #605: Fixing build on IA64 which is broken due to the inclusion of the kernel header asm/page.h. Kernel headers however don't work with -ansi. The inclusion of asm/page.h can however savely be removed as it there are plenty of other ways to determine the page size. --- imakemdep.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/imakemdep.h b/imakemdep.h index 38a6d95..2e02cc3 100644 --- a/imakemdep.h +++ b/imakemdep.h @@ -1337,6 +1337,9 @@ struct symtab predefs[] = { #endif #if defined(__LITTLE_ENDIAN__) {"__LITTLE_ENDIAN__", "1"}, +#endif +#if defined (__CHAR_BIT__) + {"__CHAR_BIT__", DEF_STRINGIFY(__CHAR_BIT__)}, #endif /* add any additional symbols before this line */ {NULL, NULL} -- cgit v1.2.1