about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/strnlen-avx2.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/multiarch/strnlen-avx2.S')
-rw-r--r--sysdeps/x86_64/multiarch/strnlen-avx2.S6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/x86_64/multiarch/strnlen-avx2.S b/sysdeps/x86_64/multiarch/strnlen-avx2.S
index c4062b22f7..c4a12097f0 100644
--- a/sysdeps/x86_64/multiarch/strnlen-avx2.S
+++ b/sysdeps/x86_64/multiarch/strnlen-avx2.S
@@ -1,4 +1,8 @@
-#define STRLEN __strnlen_avx2
+#ifndef STRNLEN
+# define STRNLEN __strnlen_avx2
+#endif
+
 #define USE_AS_STRNLEN 1
+#define STRLEN	STRNLEN
 
 #include "strlen-avx2.S"