summaryrefslogtreecommitdiff
path: root/libguile/eq.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/eq.c')
-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: