mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Combined a couple WIN32 ifndefs in Main.cpp
This commit is contained in:
parent
007822b1d2
commit
c097261301
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user