summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Browning <rlb@defaultvalue.org>2003-03-25 23:54:15 +0000
committerRob Browning <rlb@defaultvalue.org>2003-03-25 23:54:15 +0000
commit1f4d02c24b7358ad2aebefcd51c0da8d54f6c255 (patch)
tree6fd3daf176dd67777f0ee3800308b56cab1daf30
parent5f0bcfd55518ecdb046835b65d1bf288f0f2c732 (diff)
downloadguile-1f4d02c24b7358ad2aebefcd51c0da8d54f6c255.tar.gz
* eq.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".
-rw-r--r--libguile/eq.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libguile/eq.c b/libguile/eq.c
index 3874b973b..c7cea76db 100644
--- a/libguile/eq.c
+++ b/libguile/eq.c
@@ -40,6 +40,9 @@
* If you do not wish that, delete this exception notice. */
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
#include "libguile/_scm.h"
#include "libguile/ramap.h"
@@ -197,11 +200,11 @@ SCM_PRIMITIVE_GENERIC_1 (scm_equal_p, "equal?", scm_tc7_rpsubr,
else
break;
}
-#ifdef HAVE_ARRAYS
+#ifdef SCM_HAVE_ARRAYS
case scm_tc7_bvect: case scm_tc7_uvect: case scm_tc7_ivect:
case scm_tc7_fvect: case scm_tc7_cvect: case scm_tc7_dvect:
case scm_tc7_svect:
-#ifdef HAVE_LONG_LONGS
+#if SCM_SIZEOF_LONG_LONG != 0
case scm_tc7_llvect:
#endif
case scm_tc7_byvect: