summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/AppHdr.h
diff options
context:
space:
mode:
authorSamuel Bronson <naesten@gmail.com>2011-10-31 21:41:11 -0400
committerRobert Burnham <burnhamrobertp@gmail.com>2011-11-01 11:45:31 -0500
commit8b63eec984a75e417dc7b78eed02c66db598532a (patch)
tree4fe631655994451b1e3e7507f34bc6b3d8e1d78b /crawl-ref/source/AppHdr.h
parenta65c813e4546083033e4a2edab108296ec1534a8 (diff)
downloadcrawl-ref-8b63eec984a75e417dc7b78eed02c66db598532a.tar.gz
crawl-ref-8b63eec984a75e417dc7b78eed02c66db598532a.zip
Windows (MinGW): Do crash dumps, same as on *nix.
We do this by defining USE_UNIX_SIGNALS there and fixing the resulting compiler errors. For some reason they aren't being written to files yet, though :-(.
Diffstat (limited to 'crawl-ref/source/AppHdr.h')
-rw-r--r--crawl-ref/source/AppHdr.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h
index 976e3fc121..52b413a60a 100644
--- a/crawl-ref/source/AppHdr.h
+++ b/crawl-ref/source/AppHdr.h
@@ -91,10 +91,6 @@
//
// #define DGAMELAUNCH
-#ifndef TARGET_COMPILER_MINGW
- #define USE_UNIX_SIGNALS
-#endif
-
#define FILE_SEPARATOR '/'
#ifndef USE_TILE_LOCAL
#define USE_CURSES
@@ -140,6 +136,10 @@
#include "libunix.h"
#elif defined(TARGET_OS_WINDOWS)
+ #if defined(TARGET_COMPILER_MINGW)
+ #define USE_UNIX_SIGNALS
+ #endif
+
#if !defined(USE_TILE)
#include "libw32c.h"
#endif