1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-09 05:30:21 +02:00

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.
This commit is contained in:
Ludovic Courtès 2014-06-09 19:26:38 +02:00
parent 59258f7cad
commit fab18c02e8

View file

@ -601,7 +601,7 @@ scm_storage_prehistory ()
GC_set_finalize_on_demand (1); GC_set_finalize_on_demand (1);
#if (GC_VERSION_MAJOR == 7 && GC_VERSION_MINOR == 4 \ #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 /* 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>. than one marker thread: <https://github.com/ivmai/bdwgc/pull/30>.
Work around it by asking for one marker thread. */ Work around it by asking for one marker thread. */