get heap stats with GC_get_heap_usage_safe, if available.
authorAndy Wingo <wingo@pobox.com>
Mon, 28 Nov 2011 18:58:53 +0000 (19:58 +0100)
committerAndy Wingo <wingo@pobox.com>
Mon, 28 Nov 2011 18:58:53 +0000 (19:58 +0100)
commit14294ce0dfa315193a455a16dd5ab631bf037b78
tree1e0bd4aeb405ff658463ef329984de3604203e13
parent59a0273338ca52dd920eef90439f95d313214a6b
get heap stats with GC_get_heap_usage_safe, if available.

* configure.ac: Check for GC_get_heap_usage_safe.
* libguile/gc.c (SCM_DEFINE): Use GC_get_heap_usage_safe.
configure.ac
libguile/gc.c