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

Re: [Libvir] 21/22 Disable exec in util.c

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 :-)


Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

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