mirror of https://git.ffmpeg.org/ffmpeg.git
configure: fix gcc asm tests for MinGW GCC 4.6.2
Thanks to stackoverflow Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f2b20b7a8b
commit
71d6b46849
|
@ -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…
Reference in New Issue