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:
parent
44e268898b
commit
04f8c62ca6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue