summaryrefslogtreecommitdiff
path: root/lisp/lisp.c
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
commit5d7513ad1d0c061f97373b684d669ebf98d7867e (patch)
treef60ec38ea36a69754be40183909f72e53632e6b5 /lisp/lisp.c
parent9f5d0de96f079e84c648a0173bffac8ec2c3bef5 (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.
Diffstat (limited to 'lisp/lisp.c')
-rw-r--r--lisp/lisp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/lisp.c b/lisp/lisp.c
index da5d1c8..0231727 100644
--- a/lisp/lisp.c
+++ b/lisp/lisp.c
@@ -46,7 +46,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