comparison src/lisp.h @ 55602:244966f6dffa

(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.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 15 May 2004 11:50:50 +0000
parents 21f88361795c
children 3005cc2dd13b
comparison
equal deleted inserted replaced
55601:f1928468f1fb 55602:244966f6dffa
303 303
304 /* First, try and define DECL_ALIGN(type,var) which declares a static 304 /* First, try and define DECL_ALIGN(type,var) which declares a static
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
315 /* Let's USE_LSB_TAG on systems where we know malloc returns mult-of-8. */ 317 /* Let's USE_LSB_TAG on systems where we know malloc returns mult-of-8. */
316 #if defined GNU_MALLOC || defined DOUG_LEA_MALLOC || defined __GLIBC__ || defined MAC_OSX 318 #if defined GNU_MALLOC || defined DOUG_LEA_MALLOC || defined __GLIBC__ || defined MAC_OSX