From 69fff2d750fff7742c437d89831804afd674d9d1 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 9 Feb 2009 23:29:41 +0100 Subject: Revert "Fix errornos assumption that all compilers are gcc" This breaks (some?) files with gcc. This reverts commit 98a4327b19e83ffad4e0be7e8895fdbd9e48d49f. --- pidl/lib/Parse/Pidl/IDL.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pidl/lib/Parse') diff --git a/pidl/lib/Parse/Pidl/IDL.pm b/pidl/lib/Parse/Pidl/IDL.pm index b2b5e3d7b3..06d54fb4b5 100644 --- a/pidl/lib/Parse/Pidl/IDL.pm +++ b/pidl/lib/Parse/Pidl/IDL.pm @@ -2525,7 +2525,7 @@ sub parse_file($$) $cpp = "cpp"; } my $includes = join('',map { " -I$_" } @$incdirs); - my $data = `$cpp -D__PIDL__$includes $filename`; + my $data = `$cpp -D__PIDL__$includes -xc $filename`; $/ = $saved_delim; return parse_string($data, $filename); -- cgit