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

Oded Shimon ods15 at ods15.dyndns.org
Thu Jun 30 17:47:39 CEST 2005


On Thu, Jun 30, 2005 at 03:47:31PM +0200, Tobias Diedrich wrote:
> Reimar D?ffinger wrote:
> 
> > No good, since ll prefix doesn't exist on e.g. MinGW AFAIK.
> 
> My mingw does support it:
> 
> ranma at melchior:~$ dpkg -l mingw32
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
> |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
> ||/ Name           Version        Description
> +++-==============-==============-============================================
> ii  mingw32        3.4.2.20040916 Minimalist GNU win32 (cross) compiler
> ranma at melchior:~/tmp$ cat test.c
> #include <stdio.h>
> 
> int main(int argc, char **argv)
> {
>         long long bla = 20;
>         printf("bla=%lld\n", bla);
> 
>         return 0;
> }
> ranma at melchior:~/tmp$ i586-mingw32msvc-gcc -Wall test.c -o test.exe
> ranma at melchior:~/tmp$ wine test.exe
> bla=20
> Wine exited with a successful status
> ranma at melchior:~/tmp$ 

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...

- ods15




More information about the MPlayer-dev-eng mailing list