diff options
Diffstat (limited to 'string/strlen.c')
-rw-r--r-- | string/strlen.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/string/strlen.c b/string/strlen.c index d066bde..b7fd645 100644 --- a/string/strlen.c +++ b/string/strlen.c @@ -23,10 +23,14 @@ #undef strlen +#ifndef STRLEN +# define STRLEN strlen +#endif + /* Return the length of the null-terminated string STR. Scan for the null terminator quickly by testing four bytes at a time. */ size_t -strlen (const char *str) +STRLEN (const char *str) { const char *char_ptr; const unsigned long int *longword_ptr; |