r7161: - Add support for "aliases" for pidls scalar types and add a few aliases.
[samba.git] / source4 / build / pidl / idl.pm
index 156a3435e60ae4c718f61b6ad32642b8f2285f94..8b6cf3956e0f649bf1d805f6884b1ff856515c45 100644 (file)
@@ -2470,7 +2470,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;