提交 d000c5ae 编写于 作者: M Michael Niedermayer

configure: move code out of main of check_exec_crash()

Tested-by: NHendrik Leppkes <h.leppkes@gmail.com>
Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 1e09d908
......@@ -845,6 +845,9 @@ check_exec_crash(){
static void sighandler(int sig){
raise(SIGTERM);
}
int func(void){
$code
}
int main(void){
signal(SIGILL, sighandler);
signal(SIGFPE, sighandler);
......@@ -852,7 +855,7 @@ int main(void){
#ifdef SIGBUS
signal(SIGBUS, sighandler);
#endif
{ $code }
return func();
}
EOF
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册