Adjust to match changes in libgc's CVS (pre-7.2).
authorLudovic Courtès <ludo@gnu.org>
Fri, 9 Oct 2009 12:42:07 +0000 (14:42 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 9 Oct 2009 12:42:07 +0000 (14:42 +0200)
commit3d1af79fece43fa40665c5dae53afba048827d47
tree87ae0509f0c6169987bd127ca57ffd5efc3faa05
parent705edb959b3093cb1cbe1390110d96ee833b63fc
Adjust to match changes in libgc's CVS (pre-7.2).

In libgc CVS the `GC_do_blocking ()' declaration is now public but it
uses a slightly different signature for its first argument.

* configure.ac: Check for `GC_fn_type'.

* libguile/threads.c (GC_fn_type)[HAVE_GC_DO_BLOCKING &&
  !HAVE_GC_FN_TYPE]: New typedef.
  (scm_without_guile): Explicitly cast `without_guile_trampoline' to
  `GC_fn_type'.  This is because the upstream definition currently
  looks like `typedef void * (extern *GC_fn_type)(void *);', which
  isn't compatible.
configure.ac
libguile/threads.c