Comment 6 for bug 402178

Revision history for this message
Alexander Sack (asac) wrote :

afaiui chromium developers more or less say we were wrong with this patch:

<fta> agl, http://paste.ubuntu.com/265190/
<fta> agl, i don't get why -D_FILE_OFFSET_BITS=64 alone doesn't work, the test is "#if defined(_LARGEFILE64_SOURCE) || _FILE_OFFSET_BITS == 64"
<agl> fta: I think the zlib header is in error
<agl> fta: the *64 functions and types are only enabled by _LARGEFILE64_SOURCE
<agl> fta: however, we have _FILE_OFFSET_BITS=64, which switches the normal functions to 64-bit mode
<agl> fta: but the zlib header is referencing off64_t even in the case that only _FILE_OFFSET_BITS=64 is defined

Is there another approach we could use?