[MPlayer-dev-eng] Re: [PATCH] Kill some _LARGEFILE_SOURCE #ifdefs

Rich Felker dalias at aerifal.cx
Thu Jun 30 18:39:28 CEST 2005


On Thu, Jun 30, 2005 at 06:03:19PM +0200, Tobias Diedrich wrote:
> Oded Shimon wrote:
> 
> > If i'm not mistaken, isn't that the stupidest possible way to check that?.. 
> > Wine probably uses glibc's printf, i doubt the implemented their own printf 
> > just so it would have slightly less features to be identical with windows's 
> > printf...
> 
> Well, I just checked that it works on vanilla w2k too.
> And if mingw wouldn't support %ll, the compiler should warn you
> about it.
> Also, at least my wine is configured to use the MSVCRT.DLL from
> .wine/fake_windows/Windows/System and not the wine emulation in
> /usr/lib/wine.

But it doesn't change the fact that it would work on little endian
even if the double l were ignored. Try this:

printf("%lld %lld\n", foo, foo);

Do you get 20 20 or 20 0?

Rich




More information about the MPlayer-dev-eng mailing list