[MPlayer-cvslog] r31589 - trunk/configure

astrange subversion at mplayerhq.hu
Wed Jun 30 11:27:03 CEST 2010


Author: astrange
Date: Wed Jun 30 11:27:03 2010
New Revision: 31589

Log:
configure: Fix detection of SDL backend for vo_gl on OS X

SDL overrides main, and provides a prototype for SDL_main
which uses argc and argv. Since the prototype didn't match
the main() in the test program, it failed to compile, making
the test fail when it should have worked.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Tue Jun 29 18:30:28 2010	(r31588)
+++ trunk/configure	Wed Jun 30 11:27:03 2010	(r31589)
@@ -5299,7 +5299,7 @@ if (test "$_x11" = yes || test "$_sdl" =
 #include <X11/Xlib.h>
 #include <GL/glx.h>
 #endif
-int main(void) {
+int main(int argc, char *argv[]) {
 #ifdef GL_WIN32
   HDC dc;
   wglCreateContext(dc);


More information about the MPlayer-cvslog mailing list