# HG changeset patch # User astrange # Date 1277890023 0 # Node ID 7ab5787e625c39a62030f01e2e6d7efb07d9f3bd # Parent 0553c67e2f83f1c7978a2f288e9d55a54046884f 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. diff -r 0553c67e2f83 -r 7ab5787e625c configure --- 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 #include #endif -int main(void) { +int main(int argc, char *argv[]) { #ifdef GL_WIN32 HDC dc; wglCreateContext(dc);