Set macro GOLDAREA_INC to specify goldarea.inc file

This commit is contained in:
Stas Degteff 2005-10-27 17:26:22 +00:00
parent b417527631
commit 7f12733d4c
2 changed files with 5 additions and 1 deletions

View File

@ -44,4 +44,8 @@
#endif /* GEDCFG2 */
#ifndef GOLDAREA_INC
#define GOLDAREA_INC "goldarea.inc"
#endif
#endif /* __GEFN_H__ */

View File

@ -892,7 +892,7 @@ void Initialize(int argc, char* argv[]) {
// Write GOLDAREA.INC if told
if(cmdlinewriteareas)
AL.WriteAreaDef(AddPath(CFG->goldpath, "goldarea.inc"));
AL.WriteAreaDef(AddPath(CFG->goldpath, GOLDAREA_INC));
// Get the global max length of echoids (for the arealist)
extern int arealistnumgrps;