diff options
author | John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> | 2020-02-04 14:14:43 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-02-08 15:11:34 +0100 |
commit | 43cfae363493460bed62da24bcdc51fce7ba250a (patch) | |
tree | d22a430b5b9bc9cf9a9a442631e1bac2708b04f6 /libguile/threads.h | |
parent | ad91517da1883e72469c610e85bb87050f3829b4 (diff) | |
download | guile-43cfae363493460bed62da24bcdc51fce7ba250a.tar.gz |
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>
Diffstat (limited to 'libguile/threads.h')
-rw-r--r-- | libguile/threads.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libguile/threads.h b/libguile/threads.h index 337dc83a9..e6a60e96b 100644 --- a/libguile/threads.h +++ b/libguile/threads.h @@ -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; }; |