Markus Metz wrote:

> > Also, are there any cases where we pass an off_t to a third-party
> > library? Because that would require the library to use a 64-bit off_t
> > (this is one of the reasons why _FILE_OFFSET_BITS=64 has to be
> > explicitly enabled).
> 
> But even with _FILE_OFFSET_BITS=64, off_t in trunk is 32 bit when
> compiled with MING32, right?

Right. MinGW doesn't use _FILE_OFFSET_BITS and doesn't have any
equivalent, i.e. there is no built-in mechanism to "redirect" off_t,
lseek, stat etc to their 64-bit equivalents.

-- 
Glynn Clements <[email protected]>
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to