From d0815a340acabe79416029ee6b48946eb51c6c52 Mon Sep 17 00:00:00 2001 From: upstream svn Date: Tue, 16 Nov 2010 21:13:45 +0000 Subject: [PATCH] Check all preprocessor statements in the header-checker tool --- .svn-revision | 2 +- src/utils/scripts/check_defines.pl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.svn-revision b/.svn-revision index 8539b28e..b840399e 100644 --- a/.svn-revision +++ b/.svn-revision @@ -1 +1 @@ -10378 +10379 diff --git a/src/utils/scripts/check_defines.pl b/src/utils/scripts/check_defines.pl index 04b17b8a..ac61f6c9 100755 --- a/src/utils/scripts/check_defines.pl +++ b/src/utils/scripts/check_defines.pl @@ -83,8 +83,8 @@ sub checkDeps($$) $status = 0; open(SRC, $file) or die "can't open $file : $!"; while () { - $status |= 1 if /^\s*\#if.+AMULE_DAEMON/; - $status |= 2 if /^\s*\#if.+CLIENT_GUI/; + $status |= 1 if /^\s*\#.+AMULE_DAEMON/; + $status |= 2 if /^\s*\#.+CLIENT_GUI/; } close SRC; $checkedFiles{$file} = $status; -- 2.11.4.GIT