diff configure @ 31523:7ab5787e625c

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.
author astrange
date Wed, 30 Jun 2010 09:27:03 +0000
parents 176e30f35c73
children 083786e4aaf2
line wrap: on
line diff
--- a/configure	Tue Jun 29 16:30:28 2010 +0000
+++ b/configure	Wed Jun 30 09:27:03 2010 +0000
@@ -5299,7 +5299,7 @@
 #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);