From: Andrea Corallo Date: Sun, 23 Jun 2019 14:54:06 +0000 (+0200) Subject: fix struct thread_state definition X-Git-Tag: emacs-28.0.90~2727^2~1452 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a328ce70ea6499239c47551f62b4428e556f52d3;p=emacs.git fix struct thread_state definition --- diff --git a/src/comp.c b/src/comp.c index fe3fac606d9..b2a16d84e12 100644 --- a/src/comp.c +++ b/src/comp.c @@ -887,13 +887,13 @@ define_thread_state_struct (void) sizeof (struct thread_state) - offsetof (struct thread_state, m_handlerlist) - - sizeof (struct handler *)), + - sizeof (((struct thread_state *) 0)->m_handlerlist)), "pad1") }; comp.thread_state = gcc_jit_context_new_struct_type (comp.ctxt, NULL, - "thread_state", + "comp_thread_state", sizeof (fields) / sizeof (*fields), fields); comp.thread_state_ptr_type =