Glynn Clements wrote:

> I suggest:
> 
> 1. Remove OFF_T_TEST.
> 
> 2. Add:
> 
>       #ifdef HAVE_LONG_LONG_INT
>       #define LONG_LONG_TEST 0x0102030405060708LL
>       #endif
> 
> 3. Change the initialisation of u_o to e.g.:
> 
>           if (nat_off_t == 8)
>       #ifdef HAVE_LONG_LONG_INT
>               u_o = (off_t) LONG_LONG_TEST;
>       #else
>               G_fatal_error("Internal error: can't construct an off_t 
> literal");
>       #endif
>           else
>               u_o = (off_t) LONG_TEST;

Done in r38916.

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

Reply via email to