summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-04-07 09:14:38 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-04-07 09:14:38 +0200
commit91c74ae9f7fe595c486fd9979f888b5fc06393b3 (patch)
treecd4b2484b45d545c3ce4c09b3c6feacf249d9d11 /src
parentfc3abbd2b141d1bb2e3d18d48bc8afb896075593 (diff)
DATADIR -> GIPFEL_DATADIR
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;