about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S')
-rw-r--r--sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S b/sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S
index 17cdedc2a9..8f534102a2 100644
--- a/sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S
+++ b/sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S
@@ -1,6 +1,11 @@
+#ifndef WCSNLEN
+# define WCSNLEN	__wcsnlen_sse4_1
+# define OVERFLOW_STRLEN	__wcslen_sse4_1
+#endif
+
 #define AS_WCSLEN
 #define AS_STRNLEN
-#define STRLEN	__wcsnlen_sse4_1
+#define STRLEN	WCSNLEN
 #define SECTION(p)	p##.sse4.1
 
 #include "strlen-sse2.S"