summaryrefslogtreecommitdiffstats
path: root/atc/pathnames.h
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-03-28 14:39:02 -0400
committerCameron Katri <me@cameronkatri.com>2021-03-28 14:39:02 -0400
commit23454acb66be2a88647262d98d50e0f115519ea0 (patch)
treec593751ce3649be2e502fac3e080d6c0045b9fa0 /atc/pathnames.h
parent08eca96e71d96ad1f8e9b888875ab5570f208d19 (diff)
downloadbsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.tar.gz
bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.tar.zst
bsdgames-darwin-23454acb66be2a88647262d98d50e0f115519ea0.zip
Use PREFIX now
Diffstat (limited to 'atc/pathnames.h')
-rw-r--r--atc/pathnames.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/atc/pathnames.h b/atc/pathnames.h
index 742b8fd7..d73f6ff6 100644
--- a/atc/pathnames.h
+++ b/atc/pathnames.h
@@ -33,5 +33,7 @@
#include <paths.h>
-#define _PATH_GAMES "/usr/share/games/atc/"
-#define _PATH_SCORE "/var/games/atc_score"
+#include "config.h"
+
+#define _PATH_GAMES PREFIX"/share/games/atc/"
+#define _PATH_SCORE LOCALSTATEDIR"/games/atc_score"