diff options
| author | mniip <mniip@yandex.ru> | 2013-05-17 14:32:41 (GMT) |
|---|---|---|
| committer | mniip <mniip@yandex.ru> | 2013-05-17 14:32:41 (GMT) |
| commit | 3a640fee3f20cbc82e2557271039d65c852a4817 (patch) | |
| tree | 889add577c302f9900264623970091a7e384f0a4 /src/PowderToySDL.cpp | |
| parent | 32fe184351e7bc44fd8577739c14a0c422456dac (diff) | |
| download | powder-3a640fee3f20cbc82e2557271039d65c852a4817.zip powder-3a640fee3f20cbc82e2557271039d65c852a4817.tar.gz | |
some more compiling fixes
Diffstat (limited to 'src/PowderToySDL.cpp')
| -rw-r--r-- | src/PowderToySDL.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/PowderToySDL.cpp b/src/PowderToySDL.cpp index f61a55e..81c3093 100644 --- a/src/PowderToySDL.cpp +++ b/src/PowderToySDL.cpp @@ -667,6 +667,7 @@ void BlueScreen(char * detailMessage){ } } +#ifndef WIN void SigHandler(int signal) { switch(signal){ @@ -684,6 +685,7 @@ void SigHandler(int signal) break; } } +#endif int main(int argc, char * argv[]) { @@ -781,12 +783,13 @@ int main(int argc, char * argv[]) engine->SetFastQuit(Client::Ref().GetPrefBool("FastQuit", true)); #ifndef DEBUG +#ifndef WIN //Get ready to catch any dodgy errors signal(SIGSEGV, SigHandler); signal(SIGFPE, SigHandler); signal(SIGILL, SigHandler); signal(SIGABRT, SigHandler); - +#endif #endif GameController * gameController = NULL; |
