configure: fix gcc asm tests for MinGW GCC 4.6.2

Thanks to stackoverflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/3/merge
Laurent 13 years ago committed by Michael Niedermayer
parent f2b20b7a8b
commit 71d6b46849
  1. 3
      configure

3
configure vendored

@ -867,6 +867,7 @@ static void sighandler(int sig){
int func(void){
$code
}
int (*func_ptr)(void) = func;
int main(void){
signal(SIGILL, sighandler);
signal(SIGFPE, sighandler);
@ -874,7 +875,7 @@ int main(void){
#ifdef SIGBUS
signal(SIGBUS, sighandler);
#endif
return func();
return func_ptr();
}
EOF
}

Loading…
Cancel
Save