summaryrefslogtreecommitdiff
path: root/src/thread.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-10-26 17:31:41 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2017-10-26 17:32:30 -0700
commit015f0bb2d85475bb952d6287d09b45932d7d215b (patch)
tree8cf5ef7fc8c9753783456cf074a2b2cae213fde8 /src/thread.c
parentad68bbd0da4ed90117f09dc2344c0c3d9d728851 (diff)
downloademacs-015f0bb2d85475bb952d6287d09b45932d7d215b.tar.gz
Port thread.c to OpenBSD ARM
Problem reported by Jeremie Courreges-Anglas (Bug#29005). * src/thread.c (main_thread): Align to GCALIGNMENT.
Diffstat (limited to 'src/thread.c')
-rw-r--r--src/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread.c b/src/thread.c
index c03cdda0fae..6f12d796ff9 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -26,7 +26,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include "coding.h"
#include "syssignal.h"
-static struct thread_state main_thread;
+static struct thread_state alignas (GCALIGNMENT) main_thread;
struct thread_state *current_thread = &main_thread;