aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2004-05-15 11:50:50 +0000
committerEli Zaretskii2004-05-15 11:50:50 +0000
commit69536a336f86e5e11defb4c77e8a528778571631 (patch)
tree554abba50460dd44f34e11ac04e52723af51829a /src
parent269558241a6724aae2ff58db446bd4a94aee293d (diff)
downloademacs-69536a336f86e5e11defb4c77e8a528778571631.tar.gz
emacs-69536a336f86e5e11defb4c77e8a528778571631.zip
(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.
Diffstat (limited to 'src')
-rw-r--r--src/lisp.h8
1 files 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
305 variable VAR of type TYPE with the added requirement that it be 305 variable VAR of type TYPE with the added requirement that it be
306 TYPEBITS-aligned. */ 306 TYPEBITS-aligned. */
307#ifndef DECL_ALIGN 307#ifndef DECL_ALIGN
308# ifndef MSDOS /* MS-DOS doesn't currently support USE_LSB_TAG */
308/* What compiler directive should we use for non-gcc compilers? -stef */ 309/* What compiler directive should we use for non-gcc compilers? -stef */
309# if defined (__GNUC__) 310# if defined (__GNUC__)
310# define DECL_ALIGN(type, var) \ 311# define DECL_ALIGN(type, var) \
311 type __attribute__ ((__aligned__ (1 << GCTYPEBITS))) var 312 type __attribute__ ((__aligned__ (1 << GCTYPEBITS))) var
313# endif
312# endif 314# endif
313#endif 315#endif
314 316