about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/wcschr-avx2.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/multiarch/wcschr-avx2.S')
-rw-r--r--sysdeps/x86_64/multiarch/wcschr-avx2.S7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/x86_64/multiarch/wcschr-avx2.S b/sysdeps/x86_64/multiarch/wcschr-avx2.S
index 67726b6837..f404888a93 100644
--- a/sysdeps/x86_64/multiarch/wcschr-avx2.S
+++ b/sysdeps/x86_64/multiarch/wcschr-avx2.S
@@ -1,3 +1,8 @@
-#define STRCHR __wcschr_avx2
+#ifndef WCSCHR
+# define WCSCHR	__wcschr_avx2
+#endif
+
+#define STRCHR	WCSCHR
 #define USE_AS_WCSCHR 1
+
 #include "strchr-avx2.S"