diff options
-rwxr-xr-x | tools/mpfrlint | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mpfrlint b/tools/mpfrlint index 5ab29b7d1..55ee1cd80 100755 --- a/tools/mpfrlint +++ b/tools/mpfrlint @@ -84,7 +84,7 @@ done # as they need <stdarg.h> (HAVE_STDARG defined). for file in tests/*.c do - sed '/#if\(def\)\? *HAVE_STDARG/,/#\(endif\|else\) .*HAVE_STDARG/d + sed '/#if\(def\| *defined *(\)\? *HAVE_STDARG/,/#\(endif\|else\) .*HAVE_STDARG/d /\/\*.*\*\//d /\/\*/,/\*\//d' $file | grep -q "mpfr_[a-z]*printf" && \ echo "$file contains unprotected mpfr_printf-like function calls" |