提交 b9c683f0 编写于 作者: L lice

fix compile error

fix compile error when use_jemalloc_recycle_func open

Issuse:I7IQ2Z
Signed-off-by: Nlice <lice4@huawei.com>
上级 9b010e1f
......@@ -218,7 +218,7 @@ int __libc_current_sigrtmax(void);
#define MUSL_SIGNAL_JSHEAP (SIGRTMIN + 4)
#define MUSL_SIGNAL_JSHEAP_PRIV (SIGRTMIN + 5)
#ifdef USE_JEMALLOC_RECYCLE_FUNC
#define MUSL_SIGNAL_RECYCLE_JEMALLOC(SIGRTMIN + 8)
#define MUSL_SIGNAL_RECYCLE_JEMALLOC (SIGRTMIN + 8)
#endif
#define MUSL_SIGNAL_MEMCHECK (SIGRTMIN + 9)
......
......@@ -290,7 +290,6 @@ static void init_jemalloc_recycle_handler()
action.sa_flags = SA_SIGINFO | SA_RESTART;
action.sa_restorer = NULL;
sigaction(MUSL_SIGNAL_RECYCLE_JEMALLOC, &action, NULL);
}
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册