From 28bd2665c12199596e1ff44d557d418092d0136c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 8 Sep 2006 14:06:39 +0000 Subject: r18268: for samba3 define _PUBLIC_ empty metze (This used to be commit b2018249b7da4155dde963bf118d4636864b0343) --- source4/pidl/lib/Parse/Pidl/Samba4/NDR/Parser.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source4/pidl/lib/Parse') 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_"; + } } ##################################################################### -- cgit