summaryrefslogtreecommitdiff
path: root/source4/build/pidl/idl.yp
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-06-01 00:34:28 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:21 -0500
commit8474f37dc1d106ef9331253f41267d34a5c4028e (patch)
treee9504d64daf5723668bb5779f01f37ed7d72890d /source4/build/pidl/idl.yp
parentcc89874f521532721e8ccb402c638c558e409811 (diff)
downloadsamba-8474f37dc1d106ef9331253f41267d34a5c4028e.tar.gz
samba-8474f37dc1d106ef9331253f41267d34a5c4028e.tar.bz2
samba-8474f37dc1d106ef9331253f41267d34a5c4028e.zip
r7161: - Add support for "aliases" for pidls scalar types and add a few aliases.
- Define __PIDL__ when preprocessing IDL files. - Remove a couple of useless defines from rpcecho.idl rpcecho.idl now works in both pidl and midl (althought pidl is a bit pedantic and gives two warnings) (This used to be commit 6731e0a6548ac24d561ba48c8e9611d0034e662f)
Diffstat (limited to 'source4/build/pidl/idl.yp')
-rw-r--r--source4/build/pidl/idl.yp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/build/pidl/idl.yp b/source4/build/pidl/idl.yp
index e283237627..b556b064b4 100644
--- a/source4/build/pidl/idl.yp
+++ b/source4/build/pidl/idl.yp
@@ -384,7 +384,7 @@ sub parse_idl($$)
if (! defined $cpp) {
$cpp = "cpp"
}
- my $data = `$cpp -xc $filename`;
+ my $data = `$cpp -D__PIDL__ -xc $filename`;
$/ = $saved_delim;
$self->YYData->{INPUT} = $data;