string/strncat.c: fix compilation for some architectures
authorDenis Zaitceff <zaitceff@gmail.com>
Fri, 9 Sep 2011 16:45:03 +0000 (12:45 -0400)
committerUlrich Drepper <drepper@gmail.com>
Fri, 9 Sep 2011 16:45:03 +0000 (12:45 -0400)
ChangeLog
string/strncat.c

index a41461d..007b61c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
+
+       * string/strncat.c (strncat): Undef the symbol in case it has been
+       defined in bits/string.h.
+
 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
 
        * elf/sotruss.ksh: Clean up, fix, and complete help messages.
index 0a3d4af..bf6f99b 100644 (file)
@@ -25,6 +25,7 @@ typedef char reg_char;
 #endif
 
 #ifndef STRNCAT
+# undef strncat
 # define STRNCAT  strncat
 #endif