From 44820d617a27ad43682177e54b1da6793a0a2101 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 7 Apr 2004 00:41:57 +0000 Subject: [PATCH] Add STRLENOF macro --- include/ac/string.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ac/string.h b/include/ac/string.h index e19811ce41..791bb009c9 100644 --- a/include/ac/string.h +++ b/include/ac/string.h @@ -89,4 +89,6 @@ int (strncasecmp)(); else AC_MEMCPY( (d), (s), (n) ); \ } while(0) +#define STRLENOF(s) (sizeof(s)-1) + #endif /* _AC_STRING_H */ -- 2.39.5