diff options
author | Rob Browning <rlb@defaultvalue.org> | 2003-03-27 20:06:07 +0000 |
---|---|---|
committer | Rob Browning <rlb@defaultvalue.org> | 2003-03-27 20:06:07 +0000 |
commit | 84df1d72db1226996ac7a8345ad2eea347c227a0 (patch) | |
tree | 2c9ecbcb7c439c84ad51660271bd060f98033965 /libguile/coop-pthreads.c | |
parent | 277ee0fa4c63602f66fd1dd976ade36b116db297 (diff) | |
download | guile-84df1d72db1226996ac7a8345ad2eea347c227a0.tar.gz |
* coop-pthreads.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.
Diffstat (limited to 'libguile/coop-pthreads.c')
-rw-r--r-- | libguile/coop-pthreads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libguile/coop-pthreads.c b/libguile/coop-pthreads.c index c7210c95a..b1ba06064 100644 --- a/libguile/coop-pthreads.c +++ b/libguile/coop-pthreads.c @@ -895,7 +895,7 @@ scm_threads_mark_stacks (void) /* Active thread */ /* stack_len is long rather than sizet in order to guarantee that &stack_len is long aligned */ -#ifdef SCM_STACK_GROWS_UP +#if SCM_STACK_GROWS_UP long stack_len = ((SCM_STACKITEM *) (&t) - (SCM_STACKITEM *) thread->base); @@ -942,7 +942,7 @@ scm_threads_mark_stacks (void) else { /* Suspended thread */ -#ifdef SCM_STACK_GROWS_UP +#if SCM_STACK_GROWS_UP long stack_len = t->top - t->base; scm_mark_locations (t->base, stack_len); #else |