summaryrefslogtreecommitdiff
path: root/source4/pidl/lib/Parse
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-09-08 14:06:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:17:59 -0500
commit28bd2665c12199596e1ff44d557d418092d0136c (patch)
tree353f878f6a62a3e478419ace8156b3e551b5623c /source4/pidl/lib/Parse
parent7531db79df2ce206b7978f4e85feeb3e7933ee7f (diff)
downloadsamba-28bd2665c12199596e1ff44d557d418092d0136c.tar.gz
samba-28bd2665c12199596e1ff44d557d418092d0136c.tar.bz2
samba-28bd2665c12199596e1ff44d557d418092d0136c.zip
r18268: for samba3 define _PUBLIC_ empty
metze (This used to be commit b2018249b7da4155dde963bf118d4636864b0343)
Diffstat (limited to 'source4/pidl/lib/Parse')
-rw-r--r--source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
index 9e4388e28d..944a3f3453 100644
--- a/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
+++ b/source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm
@@ -2380,6 +2380,11 @@ sub GenerateIncludes()
pidl choose_header("librpc/gen_ndr/ndr_dcerpc.h", "gen_ndr/ndr_dcerpc.h");
pidl choose_header("librpc/rpc/dcerpc.h", "dcerpc.h"); #FIXME: This shouldn't be here!
}
+
+ # Samba3 doesn't have _PUBLIC
+ if (is_intree() == 3) {
+ pidl "#define _PUBLIC_";
+ }
}
#####################################################################