summaryrefslogtreecommitdiff
path: root/source4/pidl/idl.yp
diff options
context:
space:
mode:
Diffstat (limited to 'source4/pidl/idl.yp')
-rw-r--r--source4/pidl/idl.yp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/pidl/idl.yp b/source4/pidl/idl.yp
index 1e101106ec..0f5b17e0fa 100644
--- a/source4/pidl/idl.yp
+++ b/source4/pidl/idl.yp
@@ -319,6 +319,7 @@ optional_semicolon:
# start code
%%
+use config qw(%config);
use Parse::Pidl::Util;
#####################################################################
@@ -422,7 +423,7 @@ sub parse_idl($$)
undef $/;
my $cpp = $ENV{CPP};
if (! defined $cpp) {
- $cpp = "cpp"
+ $cpp = $config::config{'CPP'};
}
my $data = `$cpp -D__PIDL__ -xc $filename`;
$/ = $saved_delim;