aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-04-23 07:39:39 +0000
committerGravatar diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-04-23 07:39:39 +0000
commitd6b2a50fba0e79c24a915d9f52a5d8c7578369a9 (patch)
tree93ae71b19f74ae658aa065c869fc6f23ac76401d /configure
parent329513035ec25a264b8ce66a7faf8961489d9a89 (diff)
Pass argc and argv parameters to main() function in SDL test.
SDL renames the main function via a macro and later passes it parameters. This fixes the SDL check on at least Mac OS X, continues to work fine on Linux. patch by vmrsss vmrsss gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29221 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 27d27868cf..4622aa5e68 100755
--- a/configure
+++ b/configure
@@ -5083,7 +5083,7 @@ fi
if test "$_sdl" = auto || test "$_sdl" = yes ; then
cat > $TMPC << EOF
#include <SDL.h>
-int main(void) {
+int main(int argc, char *argv[]) {
SDL_Init(SDL_INIT_VIDEO|SDL_INIT_NOPARACHUTE);
return 0;
}