Commit 1529cb60 authored by Egbert Eich's avatar Egbert Eich

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.
parent 25324cd4
......@@ -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}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment