[GRASS-dev] Re: testing native winGRASS
Wolf Bergenheim
wolf+grass at bergenheim.net
Mon Mar 19 18:31:40 EDT 2007
On 20.03.2007 00:25, Daniel Calvelo wrote:
> Any reasons why it can't be a macro instead?
>
Yeah a macro would probably be much better
#ifdef __MINGW32__
#define G_DEV_NULL "NUL:"
#else
#define G_DEV_NULL "/dev/null"
#endif
should do the trick, and then replace all "/dev/null" strings with
GRASS_DEV_NULL
--W
--
<:3 )---- Wolf Bergenheim ----( 8:>
More information about the grass-dev
mailing list