From e079b4fce1c1f819292d45d52cb8c4b5a89de70f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 10 Aug 2004 18:46:36 +0000 Subject: r1700: make version default to 0.0 (same as midl) (This used to be commit b380324c938d0c5069dce02e468c92e24363a36b) --- source4/build/pidl/header.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4') diff --git a/source4/build/pidl/header.pm b/source4/build/pidl/header.pm index c1b6eb44a1..7618886bc2 100644 --- a/source4/build/pidl/header.pm +++ b/source4/build/pidl/header.pm @@ -275,6 +275,8 @@ sub HeaderInterface($) if (defined $if_uuid) { my $name = uc $interface->{NAME}; $res .= "#define DCERPC_$name\_UUID \"$if_uuid\"\n"; + + if(!defined $if_version) { $if_version = "0.0"; } $res .= "#define DCERPC_$name\_VERSION $if_version\n"; $res .= "#define DCERPC_$name\_NAME \"$interface->{NAME}\"\n\n"; $res .= "extern const struct dcerpc_interface_table dcerpc_table_$interface->{NAME};\n"; -- cgit