]> xenbits.xensource.com Git - libvirt.git/commitdiff
genprotocol.pl: add darwin to fixup list
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Sat, 19 Nov 2016 17:40:27 +0000 (20:40 +0300)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 24 Nov 2016 14:17:43 +0000 (17:17 +0300)
src/rpc/genprotocol.pl

index 1ac2507c44c45fa600ced69ca07bd97ecb270af2..69d20a344719cb2290a4fa93f0521c78a9283411 100755 (executable)
@@ -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";