On Fri, Jan 04, 2008 at 12:57:16PM +0000, Richard W.M. Jones wrote: > A few fairly miscellaneous fixups for Windows (MinGW) which fix shared > library builds and fix error handling for sockets. > > (1) XDR functions on MinGW come from a library called 'libxdr', not > 'librpc'. > > (2) To build a DLL under MinGW we need to pass the -no-undefined flag to > the linker. > > (3) Socket compatibility header file replaces <winsock2.h> inclusion. > This just defines a portable 'socket_errno()' function which returns > errno in the normal case, or WSAGetLastError() in the Windows case. > > (4) Use socket_errno() instead of errno in a few cases (but only when > the code can be compiled under Windows, ie. only in the remote client case). ACK. All looks good to me. Dan. -- |=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=| |=- Perl modules: http://search.cpan.org/~danberr/ -=| |=- Projects: http://freshmeat.net/~danielpb/ -=| |=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=| -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list