Mark malloc_conf as a weak symbol

This fixes issue #113 - je_malloc_conf is not respected on OS X
This commit is contained in:
Dave Rigby 2014-09-24 14:19:28 +01:00 committed by Jason Evans
parent 0c5dd03e88
commit e3a16fce5e

View File

@ -7,7 +7,7 @@
malloc_tsd_data(, arenas, arena_t *, NULL)
/* Runtime configuration options. */
const char *je_malloc_conf;
const char *je_malloc_conf JEMALLOC_ATTR(weak);
bool opt_abort =
#ifdef JEMALLOC_DEBUG
true