changed configure.ac to reset DL_LIBS if it's set to 'none required'
This commit is contained in:
@ -90,7 +90,7 @@ static void* alloc_heap (hcl_t* hcl, hcl_oow_t size)
|
||||
|
||||
static void free_heap (hcl_t* hcl, void* ptr)
|
||||
{
|
||||
return HCL_MMGR_FREE(hcl->mmgr, ptr);
|
||||
HCL_MMGR_FREE(hcl->mmgr, ptr);
|
||||
}
|
||||
|
||||
int hcl_init (hcl_t* hcl, hcl_mmgr_t* mmgr, hcl_oow_t heapsz, const hcl_vmprim_t* vmprim)
|
||||
|
@ -450,7 +450,7 @@ static hcl_ooi_t print_handler (hcl_t* hcl, hcl_iocmd_t cmd, void* arg)
|
||||
|
||||
static void* alloc_heap (hcl_t* hcl, hcl_oow_t size)
|
||||
{
|
||||
#if defined(HAVE_MMAP) && defined(HAVE_MUNMAP)
|
||||
#if defined(HAVE_MMAP) && defined(HAVE_MUNMAP) && defined(MAP_ANONYMOUS)
|
||||
/* It's called via hcl_makeheap() when HCL creates a GC heap.
|
||||
* The heap is large in size. I can use a different memory allocation
|
||||
* function instead of an ordinary malloc.
|
||||
|
Reference in New Issue
Block a user