aboutsummaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
authorLiubov Dmitrieva <liubov.dmitrieva@gmail.com>2011-07-19 17:11:54 -0400
committerUlrich Drepper <drepper@gmail.com>2011-07-19 17:11:54 -0400
commit99710781cc47002612e609c7dc5f34692b64e9b3 (patch)
treeac3c980ce57d0420fff758faffbd59d111026219 /string
parent7dc6bd90c569c49807462b0740b18e32fab4d8b7 (diff)
downloadglibc-99710781cc47002612e609c7dc5f34692b64e9b3.zip
glibc-99710781cc47002612e609c7dc5f34692b64e9b3.tar.gz
glibc-99710781cc47002612e609c7dc5f34692b64e9b3.tar.bz2
Improve 64 bit strcat functions with SSE2/SSSE3
Diffstat (limited to 'string')
-rw-r--r--string/strncat.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/string/strncat.c b/string/strncat.c
index 2e2de11..72d9d69 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;