aboutsummaryrefslogtreecommitdiffstats
path: root/src/lisp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lisp.h')
-rw-r--r--src/lisp.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lisp.h b/src/lisp.h
index d00dbdc5def..5424bf7b83d 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -122,16 +122,18 @@ extern void die (const char *, const char *, int) NO_RETURN;
122 TYPEBITS-aligned. */ 122 TYPEBITS-aligned. */
123#ifndef NO_DECL_ALIGN 123#ifndef NO_DECL_ALIGN
124# ifndef DECL_ALIGN 124# ifndef DECL_ALIGN
125/* What compiler directive should we use for non-gcc compilers? -stef */ 125# if HAVE_ATTRIBUTE_ALIGNED
126# if defined (__GNUC__)
127# define DECL_ALIGN(type, var) \ 126# define DECL_ALIGN(type, var) \
128 type __attribute__ ((__aligned__ (1 << GCTYPEBITS))) var 127 type __attribute__ ((__aligned__ (1 << GCTYPEBITS))) var
128# else
129 /* What directives do other compilers use? */
129# endif 130# endif
130# endif 131# endif
131#endif 132#endif
132 133
133/* Let's USE_LSB_TAG on systems where we know malloc returns mult-of-8. */ 134/* Let's USE_LSB_TAG on systems where we know malloc returns mult-of-8. */
134#if defined GNU_MALLOC || defined DOUG_LEA_MALLOC || defined __GLIBC__ || defined DARWIN_OS 135#if (defined GNU_MALLOC || defined DOUG_LEA_MALLOC || defined __GLIBC__ \
136 || defined DARWIN_OS || defined __sun)
135/* We also need to be able to specify mult-of-8 alignment on static vars. */ 137/* We also need to be able to specify mult-of-8 alignment on static vars. */
136# if defined DECL_ALIGN 138# if defined DECL_ALIGN
137# define USE_LSB_TAG 139# define USE_LSB_TAG