[Libvir] 21/22 Disable exec in util.c
Daniel Veillard
veillard at redhat.com
Fri Dec 7 14:19:31 UTC 2007
On Fri, Dec 07, 2007 at 11:47:23AM +0000, Richard W.M. Jones wrote:
> It's not likely that the external programs will actually exist on MinGW
> anyway, so execing them isn't very useful.
>
> This also removes the virFileLinkPointsTo function, which I think is
> only used by libvirtd anyway.
...
> +#ifndef __MINGW32__
> +
It's annoying we don't have a better define to say 'on windows',
in libxml2 it usually ends up being defined as
if defined (_WIN32) || defined (__DJGPP__)
because in that case it's not the compiler we want to detect, it's
the platform.
but that's fine for now :-)
Daniel
--
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard | virtualization library http://libvirt.org/
veillard at redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
More information about the libvir-list
mailing list