]> git.eshelyaron.com Git - emacs.git/commitdiff
Port thread.c to OpenBSD ARM
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Oct 2017 00:31:41 +0000 (17:31 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 27 Oct 2017 00:32:30 +0000 (17:32 -0700)
Problem reported by Jeremie Courreges-Anglas (Bug#29005).
* src/thread.c (main_thread): Align to GCALIGNMENT.

src/thread.c

index c03cdda0fae9a9f31c74ed947a49bbb19253c128..6f12d796ff99eb965e9b2aef09e1cd53c37c20b2 100644 (file)
@@ -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;