[GRASS-dev] Re: About the vector changes
Glynn Clements
glynn at gclements.plus.com
Sat Aug 29 12:34:12 EDT 2009
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 <glynn at gclements.plus.com>
More information about the grass-dev
mailing list