From f3cdd4674892740f766ea0b5ab5e734e4a028cb0 Mon Sep 17 00:00:00 2001 From: Denis Zaitceff Date: Fri, 9 Sep 2011 12:45:03 -0400 Subject: string/strncat.c: fix compilation for some architectures --- ChangeLog | 5 +++++ string/strncat.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index a41461d..007b61c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-07-29 Denis Zaitceff + + * string/strncat.c (strncat): Undef the symbol in case it has been + defined in bits/string.h. + 2011-09-09 Ulrich Drepper * elf/sotruss.ksh: Clean up, fix, and complete help messages. diff --git a/string/strncat.c b/string/strncat.c index 0a3d4af..bf6f99b 100644 --- a/string/strncat.c +++ b/string/strncat.c @@ -25,6 +25,7 @@ typedef char reg_char; #endif #ifndef STRNCAT +# undef strncat # define STRNCAT strncat #endif -- cgit v1.1