Commit 87119c3a authored by ramiro's avatar ramiro

Fix check_func_headers. The reference to the function under test was being

optimized out by gcc, thus rendering the test useless.
This new test throws a warning in mingw-w64, but that should not be a problem.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19440 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fa3a6713
......@@ -646,8 +646,7 @@ check_func_headers(){
check_ld "$@" <<EOF && enable $func && enable_safe $headers
$incs
int main(int argc, char **argv){
(void) $func;
return 0;
return (long) $func;
}
EOF
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment