summaryrefslogtreecommitdiff
path: root/libguile/gc-mark.c
diff options
context:
space:
mode:
authorRob Browning <rlb@defaultvalue.org>2003-03-25 23:55:25 +0000
committerRob Browning <rlb@defaultvalue.org>2003-03-25 23:55:25 +0000
commit3ba436c800f64eb769c162ff58fa02e26619ee4b (patch)
tree8c3a0bfa9f68477472954f2b852891e6c5d99df9 /libguile/gc-mark.c
parent132fa21f5546bdf5125a11276125c2648f497deb (diff)
downloadguile-3ba436c800f64eb769c162ff58fa02e26619ee4b.tar.gz
* gc-mark.c: #include <config.h> if HAVE_CONFIG_H. Rename usage
of HAVE_ARRAYS to SCM_HAVE_ARRAYS. Replace usage of HAVE_LONG_LONGS with "SCM_SIZEOF_LONG_LONG != 0".
Diffstat (limited to 'libguile/gc-mark.c')
-rw-r--r--libguile/gc-mark.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/libguile/gc-mark.c b/libguile/gc-mark.c
index c29ec3613..f53a02529 100644
--- a/libguile/gc-mark.c
+++ b/libguile/gc-mark.c
@@ -41,6 +41,10 @@
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <stdio.h>
#include <errno.h>
#include <string.h>
@@ -286,7 +290,7 @@ scm_gc_mark_dependencies (SCM p)
goto gc_mark_loop;
}
#endif
-#ifdef HAVE_ARRAYS
+#ifdef SCM_HAVE_ARRAYS
case scm_tc7_bvect:
case scm_tc7_byvect:
case scm_tc7_ivect:
@@ -295,7 +299,7 @@ scm_gc_mark_dependencies (SCM p)
case scm_tc7_dvect:
case scm_tc7_cvect:
case scm_tc7_svect:
-#ifdef HAVE_LONG_LONGS
+#if SCM_SIZEOF_LONG_LONG != 0
case scm_tc7_llvect:
#endif
#endif