Re: [PATCH] A few more Windows / MinGW fixups

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]