diff options
author | Laurent <laurent.aml@gmail.com> | 2012-02-09 17:49:22 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-09 17:49:22 +0100 |
commit | 71d6b46849ca1c04d5ec7b74c9e48bdce68d5ebe (patch) | |
tree | 116fe2b321672ee5a937769f6c24923377ed56ba | |
parent | f2b20b7a8b6fcbcd8cc669f5211e4e2ed7d8e9f3 (diff) | |
download | ffmpeg-71d6b46849ca1c04d5ec7b74c9e48bdce68d5ebe.tar.gz |
configure: fix gcc asm tests for MinGW GCC 4.6.2
Thanks to stackoverflow
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 } |