[MPlayer-dev-eng] PATCH: sdl test in configure

Diego Biurrun diego at biurrun.de
Thu Apr 23 09:41:23 CEST 2009


On Wed, Apr 22, 2009 at 09:44:45PM +0100, vmrsss wrote:
> On 22 Apr 2009, at 21:19, Uoti Urpala wrote:
> >SDL headers contain a hack that renames the original main(), so
> >SDL can first execute some code in its own main() and then call
> >the renamed main().
> 
> Indeed, that is what happens, if you look at your "include/SDL/ 
> SDL_main.h" you'll see the hack.
> 
> I am on macosx, and the test fails with gcc 4.0.1, 4.2.1 and 4.3. Here  
> is an example from configure.log:
> [...]
> 
> I have assumed that declaring main(arg, argv) would not cause problems  
> on other architectures.

I assume that as well, patch applied.

Diego



More information about the MPlayer-dev-eng mailing list