On Wed, May 12, 2010 at 1:11 PM, Glynn Clements <[email protected]> wrote: > > Markus Metz wrote: > >> #ifdef __MINGW32__ >> #define off_t off64_t >> #define fseeko fseeko64 >> #define ftello ftello64 >> #endif >> >> in config.h have any effect? > > If you do that, you will also need to fix lseek() and stat(). > I found that in config.h of trunk, generated from config.h.in, so I wondered about its purpose and effect.
> 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? _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
