diff options
author | Rob Browning <rlb@defaultvalue.org> | 2003-03-27 20:09:51 +0000 |
---|---|---|
committer | Rob Browning <rlb@defaultvalue.org> | 2003-03-27 20:09:51 +0000 |
commit | 8dda3eea36d5051941b58d510b291d01ba4b3a59 (patch) | |
tree | cd76c22b4ea2276e8c1c63eb9af4b704a958c63f | |
parent | 3cfe6eab01e4eeb531bba58aab26dff464c131ff (diff) | |
download | guile-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.c | 4 |
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 */ } |