summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-06-09 19:26:38 +0200
committerLudovic Courtès <ludo@gnu.org>2014-06-09 19:26:55 +0200
commitfab18c02e88ba48217182b11d93b8bdc7c09ca48 (patch)
treea24a4df0c7314a2c42cf6cd2de257250385ae25e
parent59258f7cad38327cb32278f64ec53eb6ba63a3df (diff)
Use the right GC version macros.
Reported by Doug Evans <xdje42@gmail.com>. * libguile/gc.c (scm_storage_prehistory): Use GC_VERSION_MICRO, not GC_ALPHA_VERSION.
-rw-r--r--libguile/gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/gc.c b/libguile/gc.c
index fe93cbaf9..13823c054 100644
--- a/libguile/gc.c
+++ b/libguile/gc.c
@@ -601,7 +601,7 @@ scm_storage_prehistory ()
GC_set_finalize_on_demand (1);
#if (GC_VERSION_MAJOR == 7 && GC_VERSION_MINOR == 4 \
- && GC_ALPHA_VERSION == 0)
+ && GC_VERSION_MICRO == 0)
/* BDW-GC 7.4.0 has a bug making it loop indefinitely when using more
than one marker thread: <https://github.com/ivmai/bdwgc/pull/30>.
Work around it by asking for one marker thread. */