From 7f12733d4c3d036b1212eafc983d1a6eb4904a07 Mon Sep 17 00:00:00 2001 From: Stas Degteff Date: Thu, 27 Oct 2005 17:26:22 +0000 Subject: [PATCH] Set macro GOLDAREA_INC to specify goldarea.inc file --- golded3/gefn.h | 4 ++++ golded3/geinit.cpp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/golded3/gefn.h b/golded3/gefn.h index ef4f320..801ec5f 100644 --- a/golded3/gefn.h +++ b/golded3/gefn.h @@ -44,4 +44,8 @@ #endif /* GEDCFG2 */ +#ifndef GOLDAREA_INC +#define GOLDAREA_INC "goldarea.inc" +#endif + #endif /* __GEFN_H__ */ diff --git a/golded3/geinit.cpp b/golded3/geinit.cpp index 673aee7..970331f 100644 --- a/golded3/geinit.cpp +++ b/golded3/geinit.cpp @@ -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;