[Libvir] MinGW patch
Atsushi SAKAI
sakaia at jp.fujitsu.com
Mon Apr 21 10:28:29 UTC 2008
Hi, Rich
"Richard W.M. Jones" <rjones at redhat.com> 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
More information about the libvir-list
mailing list