diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-04-23 07:39:39 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-04-23 07:39:39 +0000 |
commit | d6b2a50fba0e79c24a915d9f52a5d8c7578369a9 (patch) | |
tree | 93ae71b19f74ae658aa065c869fc6f23ac76401d /configure | |
parent | 329513035ec25a264b8ce66a7faf8961489d9a89 (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-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |