From 3156c2e3bc0d513a4332c7f472fd6b9b31a5094e Mon Sep 17 00:00:00 2001 From: dshaligram Date: Tue, 19 Dec 2006 13:17:13 +0000 Subject: Handle SIGHUP. Could use improvement, but it's a start. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@673 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/AppHdr.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'crawl-ref/source/AppHdr.h') diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h index 20cb225371..e4d0340a5d 100644 --- a/crawl-ref/source/AppHdr.h +++ b/crawl-ref/source/AppHdr.h @@ -102,6 +102,10 @@ #define MULTIUSER #define USE_UNIX_SIGNALS + // If this is defined, Crawl will attempt to save and exit when it + // receives a hangup signal. + #define SIGHUP_SAVE + #define FILE_SEPARATOR '/' #define CHARACTER_SET 0 -- cgit v1.2.3-54-g00ecf