Re: MinGW patch

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

 



Hi, Rich

"Richard W.M. Jones" <rjones@xxxxxxxxxx> wrote:

> > 2)src/util.c patch
> >   I think sys/wait.h(waitpid) has not supported on MinGW.
> >   So I think it should add check (HAVE_SYS_WAIT_H) 
> >   on waitpid() to avoid compilation warnings.
> 
> OK thanks.  This compiles for me, but I agree that if a version of
> MinGW doesn't support waitpid we should either find an alternate way
> or find some way to comment that out.  Do you have any suggested
> Windows/MinGW patches?

I think following patch seems good (but not tested yet by me.) 
http://cvsweb.xfree86.org/cvsweb/cvs/windows-NT/waitpid.c?rev=HEAD


> 
> FWIW it looks like I'm going to use the cross-compiler approach to
> build libvirt for Windows in future because I don't have the time or
> energy to maintain a running copy of Windows itself.

I also hope to unite the development environment.

Thanks
Atsushi SAKAI




--
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]