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:
parent
f2b20b7a8b
commit
71d6b46849
3
configure
vendored
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…
Reference in New Issue
Block a user