[MPlayer-dev-eng] [PATCH] mp_msg/printf fixes

Jan Knutar jknutar at nic.fi
Mon Nov 28 01:17:12 CET 2005


On Monday 28 November 2005 01:28, Dominik 'Rathann' Mierzejewski wrote:
> and uses PRI*64 macros for off_t type.

Are you sure? The default on Linux is to compile MPlayer with 32 bit off_t,
unless --enable-largefiles is given to configure. See:

$ cat test.c
#include <stdio.h>
#include <sys/types.h>
int main() { printf("%d\n", sizeof(off_t)); }
$ gcc test.c -o test
$ ./test
4
$ gcc test.c -o test -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
$ ./test
8




More information about the MPlayer-dev-eng mailing list