1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

* 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.
This commit is contained in:
Rob Browning 2003-03-27 20:09:51 +00:00
parent 3cfe6eab01
commit 8dda3eea36

View file

@ -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 */
}