summaryrefslogtreecommitdiff
path: root/cpan
diff options
context:
space:
mode:
authorJerry D. Hedden <jdhedden@cpan.org>2010-09-22 09:17:14 -0400
committerNicholas Clark <nick@ccl4.org>2010-09-22 16:23:20 +0100
commitc50695434124a900046551c70bca4c137df1eeea (patch)
tree049a1fd9a90e75df7c6870128ed429edeb19ec56 /cpan
parentf8394530f83c854865e22602f698902497a989a3 (diff)
downloadperl-c50695434124a900046551c70bca4c137df1eeea.tar.gz
Add missing newline to macro_to_ifndef in ExtUtils::Constant::Base
Diffstat (limited to 'cpan')
-rw-r--r--cpan/ExtUtils-Constant/lib/ExtUtils/Constant/Base.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/Base.pm b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/Base.pm
index ecf1bb307a..b6abe1c201 100644
--- a/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/Base.pm
+++ b/cpan/ExtUtils-Constant/lib/ExtUtils/Constant/Base.pm
@@ -87,7 +87,7 @@ sub macro_to_ifndef {
my ($self, $macro) = @_;
if (ref $macro) {
# Can't invert these stylishly, so "bodge it"
- return "$macro->[0]#else";
+ return "$macro->[0]#else\n";
}
if (defined $macro && $macro ne "" && $macro ne "1") {
return $macro ? "#ifndef $macro\n" : "#if 1\n";