mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 03:30:27 +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:
parent
3cfe6eab01
commit
8dda3eea36
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue