From 9a57bda31569294ecaf8138a06e5edda9c0d87e3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 11 Jan 2015 01:42:50 -0800 Subject: [PATCH] Port to MSB hosts without optimization E.g., when configuring --with-wide-int CFLAGS='-O0' on x86, the inline function XTYPE needs to be declared before being used. * lisp.h (XTYPE): New forward declaration. --- src/ChangeLog | 7 +++++++ src/lisp.h | 1 + 2 files changed, 8 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 14d582d57ec..8f441be3307 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2015-01-11 Paul Eggert + + Port to MSB hosts without optimization + E.g., when configuring --with-wide-int CFLAGS='-O0' on x86, + the inline function XTYPE needs to be declared before being used. + * lisp.h (XTYPE): New forward declaration. + 2015-01-10 Paul Eggert Port to 32-bit --with-wide-int diff --git a/src/lisp.h b/src/lisp.h index 1fa1deb82a4..9ed9375cff8 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -610,6 +610,7 @@ INLINE bool (VECTORLIKEP) (Lisp_Object); INLINE bool WINDOWP (Lisp_Object); INLINE struct Lisp_Save_Value *XSAVE_VALUE (Lisp_Object); INLINE struct Lisp_Symbol *(XSYMBOL) (Lisp_Object); +INLINE enum Lisp_Type (XTYPE) (Lisp_Object); INLINE void *(XUNTAG) (Lisp_Object, int); /* Defined in chartab.c. */ -- 2.39.2