Commit d381d209 authored by sewardj's avatar sewardj
Browse files

[project @ 2000-02-14 10:58:05 by sewardj]

initStorage: remove #ifdef COMPILER around call to mp_set_memory_functions.
parent ec20a2be
/* -----------------------------------------------------------------------------
* $Id: Storage.c,v 1.22 2000/01/12 15:15:18 simonmar Exp $
* $Id: Storage.c,v 1.23 2000/02/14 10:58:05 sewardj Exp $
*
* (c) The GHC Team, 1998-1999
*
......@@ -179,10 +179,8 @@ initStorage (void)
alloc_blocks = 0;
alloc_blocks_lim = RtsFlags.GcFlags.minAllocAreaSize;
#ifdef COMPILER
/* Tell GNU multi-precision pkg about our custom alloc functions */
mp_set_memory_functions(stgAllocForGMP, stgReallocForGMP, stgDeallocForGMP);
#endif
#ifdef SMP
pthread_mutex_init(&sm_mutex, NULL);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment