mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 20:18:32 +00:00
jemalloc: Force use of prefixed functions.
* Set JEMALLOC_NO_DEMANGLE to be able to use `je_*` functions, regardless of how jemalloc was compiled (--with-jemalloc-prefix) * Show jemalloc information in Neovim's version output. Resolve #2449.
This commit is contained in:
@@ -47,21 +47,25 @@ char *version_cflags = "Compilation: " NVIM_VERSION_CFLAGS;
|
||||
static char *features[] = {
|
||||
#ifdef HAVE_ACL
|
||||
"+acl",
|
||||
#else // ifdef HAVE_ACL
|
||||
#else
|
||||
"-acl",
|
||||
#endif // ifdef HAVE_ACL
|
||||
#endif
|
||||
|
||||
#if (defined(HAVE_ICONV_H) && defined(USE_ICONV)) || defined(DYNAMIC_ICONV)
|
||||
# ifdef DYNAMIC_ICONV
|
||||
"+iconv/dyn",
|
||||
# else // ifdef DYNAMIC_ICONV
|
||||
# else
|
||||
"+iconv",
|
||||
# endif // ifdef DYNAMIC_ICONV
|
||||
#else // if (defined(HAVE_ICONV_H) && defined(USE_ICONV))
|
||||
// ||defined(DYNAMIC_ICONV)
|
||||
# endif
|
||||
#else
|
||||
"-iconv",
|
||||
#endif // if (defined(HAVE_ICONV_H) && defined(USE_ICONV))
|
||||
// || defined(DYNAMIC_ICONV)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_JEMALLOC
|
||||
"+jemalloc",
|
||||
#else
|
||||
"-jemalloc",
|
||||
#endif
|
||||
NULL
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user