[Mplayer-dev-eng] LARGEFILE vs LARGEFILE

Arpi arpi at thot.banki.hu
Tue Aug 21 01:14:19 CEST 2001


Hi,

> If you set FILE_OFFSET_BITS=64 then ordinary off_t type becomes 64 bits
> automagically, lseek et al prototypes become 64bit offset.
> 
> If you define LARGEFILE64_SOURCE but not FILE_OFFSET_BITS then I believe
> off_t is still 32bit.
ok.

> I preferred the former as off_t is a logical type as it is, and it get
> your code much cleaner.
yes, but it's external stuff, i can't change.
and it has many usage of off64_t in public .h files too.

so i have to solve the problem:
- off64_t must be defined and work
- mplayer code still work without big changes


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu

_______________________________________________
Mplayer-dev-eng mailing list
Mplayer-dev-eng at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list