diff options
Diffstat (limited to 'string/strncat.c')
-rw-r--r-- | string/strncat.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/string/strncat.c b/string/strncat.c index 2e2de11508..72d9d697ac 100644 --- a/string/strncat.c +++ b/string/strncat.c @@ -24,10 +24,12 @@ typedef char reg_char; #endif -#undef strncat +#ifndef STRNCAT +# define STRNCAT strncat +#endif char * -strncat (s1, s2, n) +STRNCAT (s1, s2, n) char *s1; const char *s2; size_t n; |