From e4cb6601604c80be5b66bcd27ace3c91b9672a53 Mon Sep 17 00:00:00 2001 From: Roman Bogorodskiy Date: Sat, 19 Nov 2016 20:40:27 +0300 Subject: [PATCH] genprotocol.pl: add darwin to fixup list --- 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 1ac2507c44..69d20a3447 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 \n"; -- GitLab