Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
9bcc2958
Commit
9bcc2958
authored
Nov 27, 2004
by
Eli Zaretskii
Browse files
(DECL_ALIGN): Define non-trivially only if NO_DECL_ALIGN is not defined.
parent
670c0015
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
src/lisp.h
src/lisp.h
+7
-5
No files found.
src/lisp.h
View file @
9bcc2958
...
...
@@ -304,11 +304,13 @@ enum pvec_type
/* 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 @@ enum pvec_type
# 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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment