summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gipfel.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index 8fcc45f..f10c7c3 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -39,11 +39,11 @@
#include "choose_hill.H"
#include "../config.h"
-#ifndef DATADIR
-#define DATADIR "/usr/local/share"
+#ifndef GIPFEL_DATADIR
+#define GIPFEL_DATADIR "/usr/local/share"
#endif
-#define DEFAULT_DATAFILE DATADIR "/" PACKAGE_NAME "/gipfel.dat"
+#define DEFAULT_DATAFILE GIPFEL_DATADIR "/" PACKAGE_NAME "/gipfel.dat"
char *img_file = NULL;
char *data_file = DEFAULT_DATAFILE;