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
1b35bdf4
Commit
1b35bdf4
authored
Jan 21, 2004
by
Stefan Monnier
Browse files
[USE_LSB_TAG && !DECL_ALIGN]: Signal an error.
parent
5335a4ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
10 deletions
+6
-10
src/lisp.h
src/lisp.h
+6
-10
No files found.
src/lisp.h
View file @
1b35bdf4
...
...
@@ -294,18 +294,14 @@ 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. */
#if
ndef
DECL_ALIGN
#if
defined USE_LSB_TAG && !defined
DECL_ALIGN
/* What compiler directive should we use for non-gcc compilers? -stef */
#if defined (__GNUC__)
#define DECL_ALIGN(type, var) \
#
if defined (__GNUC__)
#
define DECL_ALIGN(type, var) \
type __attribute__ ((__aligned__ (1 << GCTYPEBITS))) var
#endif
#endif
#ifndef DECL_ALIGN
/* Can't USE_LSB_TAG if we can't enforce alignment of statically allocated
objects like lisp_subr and the special buffers in buffer.c. */
#undef USE_LSB_TAG
# else
# error "USE_LSB_TAG used without defining DECL_ALIGN"
# endif
#endif
#ifndef USE_LSB_TAG
...
...
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