Diff for /qemu/oslib-win32.c between versions 1.1.1.3 and 1.1.1.4

version 1.1.1.3, 2018/04/24 19:17:38 version 1.1.1.4, 2018/04/24 19:34:54
Line 28 Line 28
 #include <windows.h>  #include <windows.h>
 #include "config-host.h"  #include "config-host.h"
 #include "sysemu.h"  #include "sysemu.h"
   #include "main-loop.h"
 #include "trace.h"  #include "trace.h"
 #include "qemu_socket.h"  #include "qemu_socket.h"
   
Line 76  void qemu_vfree(void *ptr) Line 77  void qemu_vfree(void *ptr)
 void socket_set_block(int fd)  void socket_set_block(int fd)
 {  {
     unsigned long opt = 0;      unsigned long opt = 0;
       WSAEventSelect(fd, NULL, 0);
     ioctlsocket(fd, FIONBIO, &opt);      ioctlsocket(fd, FIONBIO, &opt);
 }  }
   
Line 83  void socket_set_nonblock(int fd) Line 85  void socket_set_nonblock(int fd)
 {  {
     unsigned long opt = 1;      unsigned long opt = 1;
     ioctlsocket(fd, FIONBIO, &opt);      ioctlsocket(fd, FIONBIO, &opt);
       qemu_fd_register(fd);
 }  }
   
 int inet_aton(const char *cp, struct in_addr *ia)  int inet_aton(const char *cp, struct in_addr *ia)
Line 118  int qemu_gettimeofday(qemu_timeval *tp) Line 121  int qemu_gettimeofday(qemu_timeval *tp)
      Do not set errno on error.  */       Do not set errno on error.  */
   return 0;    return 0;
 }  }
   
   int qemu_get_thread_id(void)
   {
       return GetCurrentThreadId();
   }

Removed from v.1.1.1.3  
changed lines
  Added in v.1.1.1.4


unix.superglobalmegacorp.com