1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-17 01:00:20 +02:00

Fix build on ia64.

* libguile/continuations.c (capture_auxiliary_stack): Fix
  logic in preprocessor code when checking for ia64 host;
  fix dereferencing of ctx variable.
* libguile/threads.h (struct scm_thread): Add missing member
  SCM_STACKITEM *auxiliary_stack_base.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
John Paul Adrian Glaubitz 2020-02-04 14:14:43 +01:00 committed by Ludovic Courtès
parent ad91517da1
commit 43cfae3634
2 changed files with 8 additions and 3 deletions

View file

@ -118,6 +118,11 @@ struct scm_thread {
/* Stack base. Used when checking for C stack overflow. */
SCM_STACKITEM *base;
#if SCM_HAVE_AUXILIARY_STACK
/* Auxiliary stack base. */
SCM_STACKITEM *auxiliary_stack_base;
#endif
/* JIT state; NULL until this thread needs to JIT-compile something. */
struct scm_jit_state *jit_state;
};