diff options
Diffstat (limited to 'string')
-rw-r--r-- | string/memchr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/string/memchr.c b/string/memchr.c index 2427c4b4b6..7a09de8932 100644 --- a/string/memchr.c +++ b/string/memchr.c @@ -51,9 +51,13 @@ #undef memchr #undef __memchr +#ifndef MEMCHR +# define MEMCHR __memchr +#endif + /* Search no more than N bytes of S for C. */ __ptr_t -__memchr (s, c_in, n) +MEMCHR (s, c_in, n) const __ptr_t s; int c_in; size_t n; |