From: Paul Eggert Date: Sun, 11 Jan 2015 09:42:50 +0000 (-0800) Subject: Port to MSB hosts without optimization X-Git-Tag: emacs-25.0.90~2605^2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9a57bda31569294ecaf8138a06e5edda9c0d87e3;p=emacs.git 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. --- 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. */