diff options
author | Rob Browning <rlb@defaultvalue.org> | 2003-03-27 20:08:29 +0000 |
---|---|---|
committer | Rob Browning <rlb@defaultvalue.org> | 2003-03-27 20:08:29 +0000 |
commit | 90a61c310b220864cfc70f52d5180606583e0d33 (patch) | |
tree | 242365c0c390c429d215d4dc6c610a2adddc5fc7 | |
parent | a5843d44111872a9a0e6c722315698d2ebc4920e (diff) | |
download | guile-90a61c310b220864cfc70f52d5180606583e0d33.tar.gz |
* init.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/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libguile/init.c b/libguile/init.c index f67d3c5d0..2caa4da08 100644 --- a/libguile/init.c +++ b/libguile/init.c @@ -232,7 +232,7 @@ check_config (void) #endif #endif -#ifdef SCM_STACK_GROWS_UP +#if SCM_STACK_GROWS_UP if (((SCM_STACKITEM *) & j - stack_start_ptr) < 0) fixconfig (remsg, "SCM_STACK_GROWS_UP", 1); #else @@ -556,7 +556,7 @@ scm_init_guile_1 (SCM_STACKITEM *base) scm_init_debug (); /* Requires macro smobs */ #endif scm_init_random (); -#ifdef SCM_HAVE_ARRAYS +#if SCM_HAVE_ARRAYS scm_init_ramap (); scm_init_unif (); #endif @@ -566,7 +566,7 @@ scm_init_guile_1 (SCM_STACKITEM *base) #ifdef DYNAMIC_LINKING scm_init_dynamic_linking (); #endif -#ifdef SCM_ENABLE_ELISP +#if SCM_ENABLE_ELISP scm_init_lang (); #endif /* SCM_ENABLE_ELISP */ scm_init_script (); |