From d6a62182f07766296244ccc4f8c2d1a800e987bd Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 28 Nov 2008 22:08:09 +0100 Subject: build: don't reject definition of STREQ * maint.mk (sc_prohibit_strcmp): Tighten rule: exclude macro definitions like the one in system.h. * .x-sc_prohibit_strcmp: Don't exempt src/system.h. --- maint.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'maint.mk') diff --git a/maint.mk b/maint.mk index a7d0b860b..cb3c6a56d 100644 --- a/maint.mk +++ b/maint.mk @@ -132,7 +132,8 @@ sc_prohibit_atoi_atof: # Use STREQ rather than comparing strcmp == 0, or != 0. sc_prohibit_strcmp: @grep -nE '! *str''cmp *\(|\&2; exit 1; } || : -- cgit v1.2.3-70-g09d2