diff options
Diffstat (limited to 'libguile/stackchk.h')
-rw-r--r-- | libguile/stackchk.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/stackchk.h b/libguile/stackchk.h index 938794114..4bf6e4163 100644 --- a/libguile/stackchk.h +++ b/libguile/stackchk.h @@ -37,11 +37,11 @@ # if SCM_STACK_GROWS_UP # define SCM_STACK_OVERFLOW_P(s)\ (SCM_STACK_PTR (s) \ - > ((SCM_STACKITEM *) SCM_BASE (scm_rootcont) + SCM_STACK_LIMIT)) + > (SCM_I_CURRENT_THREAD->base + SCM_STACK_LIMIT)) # else # define SCM_STACK_OVERFLOW_P(s)\ (SCM_STACK_PTR (s) \ - < ((SCM_STACKITEM *) SCM_BASE (scm_rootcont) - SCM_STACK_LIMIT)) + < (SCM_I_CURRENT_THREAD->base - SCM_STACK_LIMIT)) # endif # define SCM_CHECK_STACK\ {\ |