Re: [Qemu-devel] [PATCH] win32: fix socket_error() to work with Mingw64

2016-03-07 Thread Andrew Baumann
> From: Daniel P. Berrange [mailto:berra...@redhat.com] > Sent: Monday, 7 March 2016 3:29 AM > > Historically QEMU has had a socket_error() macro that was > defined to map to WSASocketError(). The os-win32.h header > file would define errno constants that mapped to the > WSA error constants. This

[Qemu-devel] [PATCH] win32: fix socket_error() to work with Mingw64

2016-03-07 Thread Daniel P. Berrange
Historically QEMU has had a socket_error() macro that was defined to map to WSASocketError(). The os-win32.h header file would define errno constants that mapped to the WSA error constants. This worked fine with Mingw32 since its header files never defined any errno values, nor did it even provide