[MPlayer-cvslog] r29221 - trunk/configure

diego subversion at mplayerhq.hu
Thu Apr 23 09:39:39 CEST 2009


Author: diego
Date: Thu Apr 23 09:39:39 2009
New Revision: 29221

Log:
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.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Wed Apr 22 22:46:33 2009	(r29220)
+++ trunk/configure	Thu Apr 23 09:39:39 2009	(r29221)
@@ -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;
 }


More information about the MPlayer-cvslog mailing list