# HG changeset patch # User Eli Zaretskii # Date 1101558280 0 # Node ID d6700fc5f1d679a5844846992666ccf4c64e9bbe # Parent b7bee1a14f1eda75727d954f422473175f0eb890 (DECL_ALIGN): Define non-trivially only if NO_DECL_ALIGN is not defined. diff -r b7bee1a14f1e -r d6700fc5f1d6 src/lisp.h --- a/src/lisp.h Sat Nov 27 04:31:08 2004 +0000 +++ b/src/lisp.h Sat Nov 27 12:24:40 2004 +0000 @@ -304,11 +304,13 @@ /* First, try and define DECL_ALIGN(type,var) which declares a static variable VAR of type TYPE with the added requirement that it be TYPEBITS-aligned. */ -#ifndef DECL_ALIGN +#ifndef NO_DECL_ALIGN +# ifndef DECL_ALIGN /* What compiler directive should we use for non-gcc compilers? -stef */ -# if defined (__GNUC__) -# define DECL_ALIGN(type, var) \ - type __attribute__ ((__aligned__ (1 << GCTYPEBITS))) var +# if defined (__GNUC__) +# define DECL_ALIGN(type, var) \ + type __attribute__ ((__aligned__ (1 << GCTYPEBITS))) var +# endif # endif #endif @@ -323,7 +325,7 @@ # endif #endif -/* Just remove the alignment annotation if we don't use it. */ +/* If we cannot use 8-byte alignment, make DECL_ALIGN a no-op. */ #ifndef DECL_ALIGN # ifdef USE_LSB_TAG # error "USE_LSB_TAG used without defining DECL_ALIGN"