[libvirt] [PATCH 1/2] genprotocol.pl: add darwing to fixup list

Andrea Bolognani abologna at redhat.com
Wed Nov 23 16:13:12 UTC 2016


On Sat, 2016-11-19 at 21:16 +0300, Roman Bogorodskiy wrote:
> ---
>  src/rpc/genprotocol.pl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/rpc/genprotocol.pl b/src/rpc/genprotocol.pl
> index 1ac2507..69d20a3 100755
> --- a/src/rpc/genprotocol.pl
> +++ b/src/rpc/genprotocol.pl
> @@ -46,7 +46,7 @@ open RPCGEN, "-|", "$rpcgen $mode $xdrdef"
>  open TARGET, ">$target"
>      or die "cannot create $target: $!";
>  
> -my $fixup = $^O eq "linux" || $^O eq "cygwin" || $^O eq "gnukfreebsd" || $^O eq "freebsd";
> +my $fixup = $^O eq "linux" || $^O eq "cygwin" || $^O eq "gnukfreebsd" || $^O eq "freebsd" || $^O eq "darwin";
>  
>  if ($mode eq "-c") {
>      print TARGET "#include <config.h>\n";

ACK

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list