summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Browning <rlb@defaultvalue.org>2003-03-27 20:09:51 +0000
committerRob Browning <rlb@defaultvalue.org>2003-03-27 20:09:51 +0000
commit8dda3eea36d5051941b58d510b291d01ba4b3a59 (patch)
treecd76c22b4ea2276e8c1c63eb9af4b704a958c63f
parent3cfe6eab01e4eeb531bba58aab26dff464c131ff (diff)
downloadguile-8dda3eea36d5051941b58d510b291d01ba4b3a59.tar.gz
* 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.
-rw-r--r--libguile/stackchk.c4
1 files 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 */
}