From 8dda3eea36d5051941b58d510b291d01ba4b3a59 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Thu, 27 Mar 2003 20:09:51 +0000 Subject: [PATCH] * stackchk.c: fix various preprocessor usages of new public symbols to expect 0 or 1 values rather than 1 or undefined. i.e. change #ifdef to #if, etc. --- libguile/stackchk.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libguile/stackchk.c b/libguile/stackchk.c index 6d3107836..d3a1190dd 100644 --- a/libguile/stackchk.c +++ b/libguile/stackchk.c @@ -74,11 +74,11 @@ long scm_stack_size (SCM_STACKITEM *start) { SCM_STACKITEM stack; -#ifdef SCM_STACK_GROWS_UP +#if SCM_STACK_GROWS_UP return &stack - start; #else return start - &stack; -#endif /* def SCM_STACK_GROWS_UP */ +#endif /* SCM_STACK_GROWS_UP */ }