~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to io/channel-watch.c

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
    GSource *source;
286
286
    QIOChannelSocketSource *ssource;
287
287
 
 
288
#ifdef WIN32
 
289
    WSAEventSelect(socket, ioc->event,
 
290
                   FD_READ | FD_ACCEPT | FD_CLOSE |
 
291
                   FD_CONNECT | FD_WRITE | FD_OOB);
 
292
#endif
 
293
 
288
294
    source = g_source_new(&qio_channel_socket_source_funcs,
289
295
                          sizeof(QIOChannelSocketSource));
290
296
    ssource = (QIOChannelSocketSource *)source;