/[svn]/qsampler/trunk/src/qsamplerMainForm.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerMainForm.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2143 by capela, Thu Jul 22 08:12:12 2010 UTC revision 2144 by persson, Wed Oct 6 18:49:54 2010 UTC
# Line 96  static WSADATA _wsaData; Line 96  static WSADATA _wsaData;
96  //-------------------------------------------------------------------------  //-------------------------------------------------------------------------
97  // LADISH Level 1 support stuff.  // LADISH Level 1 support stuff.
98    
99  #ifdef HAVE_SIGNAL_H  #if defined(HAVE_SIGNAL_H) && defined(HAVE_SYS_SOCKET_H)
100    
101  #include <QSocketNotifier>  #include <QSocketNotifier>
102    
# Line 202  MainForm::MainForm ( QWidget *pParent ) Line 202  MainForm::MainForm ( QWidget *pParent )
202    
203          m_iTimerSlot = 0;          m_iTimerSlot = 0;
204    
205  #ifdef HAVE_SIGNAL_H  #if defined(HAVE_SIGNAL_H) && defined(HAVE_SYS_SOCKET_H)
206    
207          // Set to ignore any fatal "Broken pipe" signals.          // Set to ignore any fatal "Broken pipe" signals.
208          ::signal(SIGPIPE, SIG_IGN);          ::signal(SIGPIPE, SIG_IGN);
# Line 403  MainForm::~MainForm() Line 403  MainForm::~MainForm()
403          WSACleanup();          WSACleanup();
404  #endif  #endif
405    
406  #ifdef HAVE_SIGNAL_H  #if defined(HAVE_SIGNAL_H) && defined(HAVE_SYS_SOCKET_H)
407          if (m_pUsr1Notifier)          if (m_pUsr1Notifier)
408                  delete m_pUsr1Notifier;                  delete m_pUsr1Notifier;
409  #endif  #endif
# Line 691  void MainForm::customEvent ( QEvent* pEv Line 691  void MainForm::customEvent ( QEvent* pEv
691  // LADISH Level 1 -- SIGUSR1 signal handler.  // LADISH Level 1 -- SIGUSR1 signal handler.
692  void MainForm::handle_sigusr1 (void)  void MainForm::handle_sigusr1 (void)
693  {  {
694  #ifdef HAVE_SIGNAL_H  #if defined(HAVE_SIGNAL_H) && defined(HAVE_SYS_SOCKET_H)
695    
696          char c;          char c;
697    

Legend:
Removed from v.2143  
changed lines
  Added in v.2144

  ViewVC Help
Powered by ViewVC