diff options
author | Egbert Eich <eich@suse.de> | 2004-05-06 17:31:17 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2004-05-06 17:31:17 +0000 |
commit | fcb62987b01b7166a4b1aceb677a2a777e6ba482 (patch) | |
tree | 61e6e70bf6c55c8189b44e8c78cf384d03ff4f60 | |
parent | 39c07a5fa73bcbb48d5de8985d5f2540b65e470b (diff) | |
download | xorg-lib-libXaw-fcb62987b01b7166a4b1aceb677a2a777e6ba482.tar.gz |
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-- | src/OS.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,7 +11,8 @@ #endif #if defined(linux) -#include <asm/page.h> /* for PAGE_SIZE */ +/* kernel header doesn't work with -ansi */ +/* #include <asm/page.h> *//* for PAGE_SIZE */ #define HAS_GETPAGESIZE #define HAS_SC_PAGESIZE /* _SC_PAGESIZE may be an enum for Linux */ #endif |