CLI: don't use unix-signals if NO_UNIX_SIGNAL_HANDLING is defined. don't use unix-signals in os/2.

This commit is contained in:
Daniel Marjamäki 2014-06-15 11:17:44 +02:00
parent e3c45334d9
commit d4bc643ed4
1 changed files with 1 additions and 4 deletions

View File

@ -32,13 +32,10 @@
#include <algorithm>
#include <climits>
#if defined(__GNUC__) && !defined(__MINGW32__) && !defined(__CYGWIN__)
#if !defined(NO_UNIX_SIGNAL_HANDLING) && defined(__GNUC__) && !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__OS2__)
#define USE_UNIX_SIGNAL_HANDLING
#include <execinfo.h>
#include <cxxabi.h>
#endif
#ifdef USE_UNIX_SIGNAL_HANDLING
#include <signal.h>
#include <cstdio>
#endif