X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=Porting%2Fexpand-macro.pl;h=ed8e188efaab0fd0cef54b947f6d11351b964059;hb=30026e362a034115c7d0374a1e217a52f4111932;hp=34b76cb81f3a480bf272cbc93139570fde6f6eed;hpb=ed690650a4d3639a6ac1ace13598aa3f1c99d7dc;p=p5sagit%2Fp5-mst-13.2.git diff --git a/Porting/expand-macro.pl b/Porting/expand-macro.pl index 34b76cb..ed8e188 100644 --- a/Porting/expand-macro.pl +++ b/Porting/expand-macro.pl @@ -57,7 +57,12 @@ my $sentinel = "$macro expands to"; print $out <<"EOF"; #include "EXTERN.h" #include "perl.h" -#include "$header" +EOF + +print qq{#include "$header"\n} + unless $header eq 'perl.h' or $header eq 'EXTERN.h'; + +print $out <<"EOF"; #line 4 "$sentinel" $macro$args EOF