From: Craig A. Berry Date: Sun, 19 Apr 2009 22:08:55 +0000 (-0500) Subject: Make h2ph's generated preamble require-able when empty. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=25436194551320561e53f61871c5d62bdea311ab;p=p5sagit%2Fp5-mst-13.2.git Make h2ph's generated preamble require-able when empty. $Config{ccsymbols} and friends are currently empty on Win32 and undefined on VMS. --- diff --git a/utils/h2ph.PL b/utils/h2ph.PL index 4e99a7a..cd4b5a0 100644 --- a/utils/h2ph.PL +++ b/utils/h2ph.PL @@ -809,6 +809,7 @@ sub build_preamble_if_necessary quotemeta($define{$_}), "\" } }\n\n"; } } + print PREAMBLE "\n1;\n"; # avoid 'did not return a true value' when empty close PREAMBLE or die "Cannot close $preamble: $!"; }