summaryrefslogtreecommitdiff
path: root/lib-src/make-docfile.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2015-01-10 13:35:33 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2015-01-10 13:42:34 -0800
commit288e1fd737265b7fc20c2c0d5a7b4ffaf26ecf66 (patch)
tree1197aa1287f43c24c3395ad16b8082c0bd5057d0 /lib-src/make-docfile.c
parent29eaf3c8a8c7b22e34a6183fec5343d82762f590 (diff)
downloademacs-288e1fd737265b7fc20c2c0d5a7b4ffaf26ecf66.tar.gz
Port to 32-bit Sun C 5.12 sparc
* make-docfile.c (close_emacs_globals): Align lispsym to GCALIGNMENT. The alignment is required on all platforms; it just happens to have been properly aligned on the previous platforms we tested.
Diffstat (limited to 'lib-src/make-docfile.c')
-rw-r--r--lib-src/make-docfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index 22c4bad2e3f..7c5c4bcb865 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -635,7 +635,7 @@ close_emacs_globals (int num_symbols)
"#ifndef DEFINE_SYMBOLS\n"
"extern\n"
"#endif\n"
- "struct Lisp_Symbol lispsym[%d];\n"),
+ "struct Lisp_Symbol alignas (GCALIGNMENT) lispsym[%d];\n"),
num_symbols);
}