From 69536a336f86e5e11defb4c77e8a528778571631 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 15 May 2004 11:50:50 +0000 Subject: [PATCH] (DECL_ALIGN) [MSDOS]: Don't define DECL_ALIGN to use __attribute__((__aligned__)), so that USE_LSB_TAG would not become defined for the MS-DOS build. --- src/lisp.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/lisp.h b/src/lisp.h index 8a73d852c4b..ee217019147 100644 --- a/src/lisp.h +++ b/src/lisp.h @@ -305,10 +305,12 @@ enum pvec_type variable VAR of type TYPE with the added requirement that it be TYPEBITS-aligned. */ #ifndef DECL_ALIGN +# ifndef MSDOS /* MS-DOS doesn't currently support USE_LSB_TAG */ /* 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 -- 2.39.5