summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgbert Eich <eich@suse.de>2004-05-06 17:31:17 +0000
committerEgbert Eich <eich@suse.de>2004-05-06 17:31:17 +0000
commit73f12a29fbfdac7f1cb7956f32564e253e313527 (patch)
tree615a64f59d79dfd229f8512d8547976ad37ce77c
parente825f4eabd82155a1327c42f16a6e3bcba96b311 (diff)
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.
-rw-r--r--imakemdep.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/imakemdep.h b/imakemdep.h
index 38a6d95..2e02cc3 100644
--- a/imakemdep.h
+++ b/imakemdep.h
@@ -1338,6 +1338,9 @@ struct symtab predefs[] = {
#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}
};