From a701c81f6dacaab94ab832c171f7230cd1f8e933 Mon Sep 17 00:00:00 2001 From: astrange Date: Wed, 30 Jun 2010 09:27:03 +0000 Subject: 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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31589 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index fd185cd22c..3588cb7714 100755 --- a/configure +++ b/configure @@ -5039,7 +5039,7 @@ if (test "$_x11" = yes || test "$_sdl" = yes || win32) && test "$_gl" != no ; th #include #include #endif -int main(void) { +int main(int argc, char *argv[]) { #ifdef GL_WIN32 HDC dc; wglCreateContext(dc); -- cgit v1.2.3