1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-09 15:10:29 +02:00

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.
This commit is contained in:
Ludovic Courtès 2008-09-14 22:07:34 +02:00
parent 44e268898b
commit 04f8c62ca6

View file

@ -35,7 +35,7 @@
#include <gc/gc.h>
#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 <gc/gc_local_alloc.h>
#endif