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
commit1529cb60b2652030598008c151678100ffc3f9ac (patch)
treebe4e95985edda86316077fd519b90528a5f67154
parent25324cd43b4735cafa7b6900ad23356f44077bc6 (diff)
BugZilla #601: Fixing makedepend choking on floating point exceptionXORG-6_7_99_1COMPOSITEWRAP
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}
};