Combined a couple WIN32 ifndefs in Main.cpp

This commit is contained in:
casey 2016-07-10 14:21:50 -07:00
parent 007822b1d2
commit c097261301

View File

@ -203,6 +203,9 @@ int main(int argc, char* argv[])
#else
freopen("/dev/null", "w", stderr);
#endif
std::signal(SIGWINCH, resizeHandler);
std::signal(SIGHUP, hangupHandler);
#endif
#ifdef __PDCURSES__
@ -210,11 +213,6 @@ int main(int argc, char* argv[])
PDC_set_function_key(FUNCTION_KEY_SHUT_DOWN, 4);
#endif
#ifndef WIN32
std::signal(SIGWINCH, resizeHandler);
std::signal(SIGHUP, hangupHandler);
#endif
musik::debug::init();
PluginFactory::Instance(); /* initialize */