Do not mark malloc_conf as weak on Windows.

This works around malloc_conf not being properly initialized by at least
the cygwin toolchain.  Prior build system changes to use
-Wl,--[no-]whole-archive may be necessary for malloc_conf resolution to
work properly as a non-weak symbol (not tested).
This commit is contained in:
Jason Evans 2016-10-28 23:59:42 -07:00
parent 6ec2d8e279
commit 1dcd0aa07f

View File

@ -6,7 +6,7 @@
/* Runtime configuration options. */
const char *je_malloc_conf
#ifndef JEMALLOC_JET
#ifndef _WIN32
JEMALLOC_ATTR(weak)
#endif
;