summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/AppHdr.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-02 11:26:27 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-04-02 11:26:27 +0000
commitaab231295dfe36b6e4dce0d318e9ae710fd17512 (patch)
treee626c2f339bcc98948d244dd5e5d29e8bc8a525a /crawl-ref/source/AppHdr.h
parent5ae6f9b2a31ad184fda48d086109111ef0cfa809 (diff)
downloadcrawl-ref-aab231295dfe36b6e4dce0d318e9ae710fd17512.tar.gz
crawl-ref-aab231295dfe36b6e4dce0d318e9ae710fd17512.zip
Added #ifdef to allow compatibility with the old -macro <file> option. This
option is restricted to dgamelaunch because it has security issues if used with the traditional multiuser setuid/setgid install. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1187 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r--crawl-ref/source/AppHdr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h
index 3de9c17a70..8bad5c10e4 100644
--- a/crawl-ref/source/AppHdr.h
+++ b/crawl-ref/source/AppHdr.h
@@ -227,6 +227,10 @@
// Uses <playername>-macro.txt as the macro file if uncommented.
// #define DGL_NAMED_MACRO_FILE
+
+ // Uses Options.macro_dir as the full path to the macro file. Mutually
+ // exclusive with DGL_NAMED_MACRO_FILE.
+ #define DGL_MACRO_ABSOLUTE_PATH
#endif
// =========================================================================