1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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:
Laurent 2012-02-09 17:49:22 +01:00 committed by Michael Niedermayer
parent f2b20b7a8b
commit 71d6b46849

3
configure vendored
View File

@ -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
}