From 04f8c62ca60d4be9542bda6de1990c5479cd7cfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 14 Sep 2008 22:07:34 +0200 Subject: [PATCH] Fix detection of the GC version. * libguile/boehm-gc.h: Don't expect `GC_VERSION_MAJOR' to be defined, as it's defined only since 7.x. --- libguile/boehm-gc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libguile/boehm-gc.h b/libguile/boehm-gc.h index ea8ad512a..708f17b35 100644 --- a/libguile/boehm-gc.h +++ b/libguile/boehm-gc.h @@ -35,7 +35,7 @@ #include -#if (defined GC_VERSION_MAJOR) && (GC_VERSION_MAJOR < 7) +#if (! ((defined GC_VERSION_MAJOR) && (GC_VERSION_MAJOR >= 7))) /* This was needed with `libgc' 6.x. */ # include #endif