summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-01-29 09:33:30 +0000
committerDiego Biurrun <diego@biurrun.de>2008-01-29 09:33:30 +0000
commitd6773f563db51b2e941c4e9806ac2601211ad33c (patch)
tree88f7adab798611ecfe9871ee48c0c70fc2323222 /configure
parenteda178d273cd2558fd727e98c503dfa726621d6c (diff)
downloadffmpeg-streaming-d6773f563db51b2e941c4e9806ac2601211ad33c.zip
ffmpeg-streaming-d6773f563db51b2e941c4e9806ac2601211ad33c.tar.gz
Pass argc and argv to the main function of the SDL tests.
This appears to be required on Windows and does no harm on Linux. closes issue 344, patch by jdm Originally committed as revision 11662 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index f8ccd8a..6177295 100755
--- a/configure
+++ b/configure
@@ -493,7 +493,7 @@ check_func2(){
done
check_ld "$@" <<EOF && enable $func
$incs
-int main(void){
+int main(int argc, char **argv){
(void) $func;
return 0;
}
@@ -1706,7 +1706,7 @@ if "${SDL_CONFIG}" --version >/dev/null 2>&1; then
enable sdl
check_cc $sdl_cflags <<EOF && enable sdl_video_size
#include <SDL.h>
-int main(void){
+int main(int argc, char **argv){
const SDL_VideoInfo *vi = SDL_GetVideoInfo();
int w = vi->current_w;
return 0;
OpenPOWER on IntegriCloud