diff options
author | Craig A. Berry <craigberry@mac.com> | 2009-04-19 17:08:55 -0500 |
---|---|---|
committer | Craig A. Berry <craigberry@mac.com> | 2009-04-19 17:08:55 -0500 |
commit | 25436194551320561e53f61871c5d62bdea311ab (patch) | |
tree | 8ec58dc3790fc9a7f0a606fdebfaa9f17d9ce6cd /utils/h2ph.PL | |
parent | dc1ddadda044a4ff428f377d355d2ea53a195d16 (diff) | |
download | perl-25436194551320561e53f61871c5d62bdea311ab.tar.gz |
Make h2ph's generated preamble require-able when empty.
$Config{ccsymbols} and friends are currently empty on Win32 and
undefined on VMS.
Diffstat (limited to 'utils/h2ph.PL')
-rw-r--r-- | utils/h2ph.PL | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/h2ph.PL b/utils/h2ph.PL index 4e99a7a92f..cd4b5a0b2c 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: $!"; } |