#include "wx/intl.h"
#endif
-#ifdef HAVE_SYS_SELECT_H
+#if defined(HAVE_SYS_SELECT_H) || defined(__WATCOMC__)
+ #include <sys/time.h>
#include <sys/select.h>
#endif
wxLogTrace(wxSelectDispatcher_Trace,
_T("Got %s event on fd %d"), ms_names[n], fd);
(handler.*ms_handlers[n])();
- // callback can modify sets and destroy handler, returning from
- // here guarantees that one event is processed at a time
+ // callback can modify sets and destroy handler
+ // this forces that one event can be processed at one time
return;
}
}