summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource3/script/count_80_col.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/script/count_80_col.pl b/source3/script/count_80_col.pl
index e1c8ff46a2..8b226228c9 100755
--- a/source3/script/count_80_col.pl
+++ b/source3/script/count_80_col.pl
@@ -3,7 +3,8 @@
open( INFILE, "$ARGV[0]" ) || die $@;
$count = 0;
-while ( <INFILE> ) {
+while ( <INFILE> ) {
+ next if ($_ =~ /^#define/);
$count++ if (length($_) > 80);
}