projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Suppress empty #ifdef blocks in embed.pl
[p5sagit/p5-mst-13.2.git]
/
embed.pl
diff --git
a/embed.pl
b/embed.pl
index
9e5c62b
..
598ebcc
100755
(executable)
--- a/
embed.pl
+++ b/
embed.pl
@@
-344,7
+344,7
@@
walk_table {
$ret .= hide($func,"Perl_$func");
}
}
- unless ($flags =~ /A/) {
+ if ($ret ne '' && $flags !~ /A/) {
if ($flags =~ /E/) {
$ret = "#if defined(PERL_CORE) || defined(PERL_EXT)\n$ret#endif\n";
} else {