about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/strchrnul-avx2.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/multiarch/strchrnul-avx2.S')
-rw-r--r--sysdeps/x86_64/multiarch/strchrnul-avx2.S7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/x86_64/multiarch/strchrnul-avx2.S b/sysdeps/x86_64/multiarch/strchrnul-avx2.S
index fa0cc09760..10ad5e6058 100644
--- a/sysdeps/x86_64/multiarch/strchrnul-avx2.S
+++ b/sysdeps/x86_64/multiarch/strchrnul-avx2.S
@@ -1,3 +1,8 @@
-#define STRCHR __strchrnul_avx2
+#ifndef STRCHRNUL
+# define STRCHRNUL	__strchrnul_avx2
+#endif
+
+#define STRCHR	STRCHRNUL
 #define USE_AS_STRCHRNUL 1
+
 #include "strchr-avx2.S"