未验证 提交 dc8498ed 编写于 作者: O openharmony_ci 提交者: Gitee

!969 fix compile error

Merge pull request !969 from 李策/master
......@@ -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.
先完成此消息的编辑!
想要评论请 注册