diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-13 12:04:49 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-13 12:04:49 +0000 |
commit | ed2e30ea48760f95b12fb08462ddd1dbc422ed00 (patch) | |
tree | ec21da7d6a7daa5069be879683bd6f130d8dfd7f /crawl-ref/source/AppHdr.h | |
parent | d6f1809d57b5ebd88f9aeeecd80b416aec6f73bb (diff) | |
download | crawl-ref-ed2e30ea48760f95b12fb08462ddd1dbc422ed00.tar.gz crawl-ref-ed2e30ea48760f95b12fb08462ddd1dbc422ed00.zip |
Enable core dumps automatically for dgamelaunch builds (-DDGL_ENABLE_CORE_DUMP) to make it easier to track down crashes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6912 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r-- | crawl-ref/source/AppHdr.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h index 4290c5309d..4e4886ead1 100644 --- a/crawl-ref/source/AppHdr.h +++ b/crawl-ref/source/AppHdr.h @@ -268,6 +268,11 @@ // an error message. #define DGL_PAUSE_AFTER_ERROR + // Enable core dumps. Note that this will not create core dumps if + // Crawl is installed setuid or setgid, but dgamelaunch installs should + // not be installing Crawl set[ug]id anyway. + #define DGL_ENABLE_CORE_DUMP + // Use UTC for dgamelaunch servers. #define TIME_FN gmtime #endif |