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 35799a5030
commit e46f8f97bc

View File

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