diff options
Diffstat (limited to 'crawl-ref/source/crash-u.cc')
-rw-r--r-- | crawl-ref/source/crash-u.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/crash-u.cc b/crawl-ref/source/crash-u.cc index 97643ff46c..b7a7007470 100644 --- a/crawl-ref/source/crash-u.cc +++ b/crawl-ref/source/crash-u.cc @@ -43,6 +43,7 @@ template <typename TO, typename FROM> TO nasty_cast(FROM f) { ///////////////////////////////////////////////////////////////////////////// // Code for printing out debugging info on a crash. //////////////////////////////////////////////////////////////////////////// +#ifdef USE_UNIX_SIGNALS static int _crash_signal = 0; static int _recursion_depth = 0; @@ -95,6 +96,7 @@ static void _crash_signal_handler(int sig_num) signal(sig_num, SIG_DFL); raise(sig_num); } +#endif void init_crash_handler() { |