Markus Neteler wrote:

> > off_t would be a good start.

> #ifndef _OFF_T
> #define _OFF_T
> #ifdef _LARGE_FILES
> typedef long long       off_t;          /* 64 bit file offset */
> #else
> typedef long            off_t;          /* file offset (32/64) */
> #endif /* _LARGE_FILES */
> #endif /* _OFF_T */

This doesn't fit with the off_t-related errors you were getting in
defs/gis.h.

Try:

        gcc -E -ansi -D_POSIX_C_SOURCE=200809L -Dinline= \
        -Idist.powerpc-ibm-aix5.3.0.0/include -D_POSIX_C_SOURCE=200809L \
        include/gis.h

This should output what the preprocessor sends to the compiler proper. 
It should include a typedef for off_t.

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

Reply via email to