elisp @@ macro
[bpt/guile.git] / libguile / gc.c
index bc35faf..13823c0 100644 (file)
@@ -66,9 +66,7 @@ extern unsigned long * __libc_ia64_register_backing_store_base;
 #include "libguile/debug-malloc.h"
 #endif
 
-#ifdef HAVE_UNISTD_H
 #include <unistd.h>
-#endif
 
 /* Size in bytes of the initial heap.  This should be about the size of
    result of 'guile -c "(display (assq-ref (gc-stats)
@@ -603,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.  */