From e7dd0639dede8a5e2d38b3f09b7ed541e41a99c9 Mon Sep 17 00:00:00 2001 From: Rob Browning Date: Thu, 27 Mar 2003 20:06:17 +0000 Subject: [PATCH] * coop.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. --- libguile/coop.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libguile/coop.c b/libguile/coop.c index 70abe8e11..669cd0500 100644 --- a/libguile/coop.c +++ b/libguile/coop.c @@ -40,7 +40,7 @@ * If you do not wish that, delete this exception notice. */ -/* $Id: coop.c,v 1.35 2003-03-25 23:54:01 rlb Exp $ */ +/* $Id: coop.c,v 1.36 2003-03-27 20:06:17 rlb Exp $ */ /* Cooperative thread library, based on QuickThreads */ @@ -536,10 +536,10 @@ coop_condition_variable_destroy (coop_c *c) #ifdef GUILE_PTHREAD_COMPAT /* 1K room for the cond wait routine */ -#ifdef SCM_STACK_GROWS_UP -#define COOP_STACK_ROOM (256) +#if SCM_STACK_GROWS_UP +# define COOP_STACK_ROOM (256) #else -#define COOP_STACK_ROOM (-256) +# define COOP_STACK_ROOM (-256) #endif static void *