[MPlayer-dev-eng] LINE_MAX not defined in last commit of vf_delogo.c

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue May 24 20:32:55 CEST 2011


On Tue, May 24, 2011 at 09:08:13AM +0200, Nicolas George wrote:
> Le quintidi 5 prairial, an CCXIX, Gianluigi Tiesi a écrit :
> > ok it is defined in:
> > /usr/include/bits/posix2_lim.h
> > 
> > on linux but there is no such define on mingw32
> 
> Single Unix mandates limits.h (or any recursively included header of course)
> to define LINE_MAX, so this is clearly a bug in mingw32.
> 
> Anyway, I do not mind committing the attached patch if nobody objects.

Keeping a define might not hurt (though I admit it might not make sense either),
but I definitely agree with changing it, we shouldn't depend on OS
specifics like the value of this define for no good reason.


More information about the MPlayer-dev-eng mailing list