--- qsampler/trunk/src/qsamplerMainForm.cpp 2010/07/21 18:33:25 2112 +++ qsampler/trunk/src/qsamplerMainForm.cpp 2010/07/22 08:12:12 2113 @@ -228,7 +228,7 @@ #else // HAVE_SIGNAL_H - m_pSocketNotifier = NULL; + m_pUsr1Notifier = NULL; #endif // !HAVE_SIGNAL_H @@ -691,10 +691,14 @@ // LADISH Level 1 -- SIGUSR1 signal handler. void MainForm::handle_sigusr1 (void) { +#ifdef HAVE_SIGNAL_H + char c; if (::read(g_fdUsr1[1], &c, sizeof(c)) > 0) saveSession(false); + +#endif }