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
This commit is contained in:
diego 2009-04-23 07:39:39 +00:00
parent 329513035e
commit d6b2a50fba
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -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;
}