Uses ifndef to detect if the macro was already defined. If defied, it assumes it has the right meaning and uses that instead.
This makes it more compatible with other code which defines these constants. Specifically, new GRASS GIS defines UNUSED, so compiling r.pops.spread then issues a warning or error.
Uses ifndef to detect if the macro was already defined. If defied, it assumes it has the right meaning and uses that instead.
This makes it more compatible with other code which defines these constants. Specifically, new GRASS GIS defines UNUSED, so compiling r.pops.spread then issues a warning or error.