summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-08-10 18:46:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:49 -0500
commite079b4fce1c1f819292d45d52cb8c4b5a89de70f (patch)
tree361f6d3b43ffa15d5a96cfc6c1b9edfa4285754b /source4/build
parent90cc0956a4d81cd0b8d5427ba52386fd957560d0 (diff)
downloadsamba-e079b4fce1c1f819292d45d52cb8c4b5a89de70f.tar.gz
samba-e079b4fce1c1f819292d45d52cb8c4b5a89de70f.tar.bz2
samba-e079b4fce1c1f819292d45d52cb8c4b5a89de70f.zip
r1700: make version default to 0.0 (same as midl)
(This used to be commit b380324c938d0c5069dce02e468c92e24363a36b)
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/pidl/header.pm2
1 files changed, 2 insertions, 0 deletions
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";