Markus Metz wrote: > > Also, what is the reason for defining _NO_OLDNAMES? Is there no > > alternative? > > Looking for one, but I do not get the initial approach with > #define lseek lseek64 > to work, see ticket #1131.
Right. Try explicitly including <io.h> and/or <stdio.h> before defining the macros. Both headers are protected against repeated inclusion. Also, this issue should only affect code which explicitly includes <grass/config.h> before the system header files, which is a bad idea. I've fixed lib/gis/copy_dir.c; please fix any others which you may encounter. -- Glynn Clements <[email protected]> _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
