On Wed, May 12, 2010 at 7:27 AM, Martin Landa <[email protected]> wrote:
> Hi,
>
> 2010/4/13 Martin Landa <[email protected]>:
>> 2010/4/12 Glynn Clements <[email protected]>:
>>> That should be fixed, then. On Windows, --enable-largefile has no
>>> effect other than breaking the diglib test.
>>
>> then probably diglib test should be disabled on 64bit Windows machines
>> or better to be fixed.
>
> any chance to fix this issue?
>

The root of the problem is that LFS is enabled although LFS is not
available. This is done by configure, which defines USE_LARGEFILES
globally which in turn sets LFS_CFLAGS = -D_FILE_OFFSET_BITS=64 in
Grass.make. If USE_LARGEFILES would not be defined if LFS is not
available, the diglib test would be passed. Maybe it is a good thing
to have this test not only for portability, but also for testing if
LFS is actually working.

Does

#ifdef __MINGW32__
#define off_t off64_t
#define fseeko fseeko64
#define ftello ftello64
#endif

in config.h have any effect?

Markus M
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to