about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/strchrnul-sse2.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/multiarch/strchrnul-sse2.S')
-rw-r--r--sysdeps/x86_64/multiarch/strchrnul-sse2.S8
1 files changed, 3 insertions, 5 deletions
diff --git a/sysdeps/x86_64/multiarch/strchrnul-sse2.S b/sysdeps/x86_64/multiarch/strchrnul-sse2.S
index 7238977a21..7ee81ae510 100644
--- a/sysdeps/x86_64/multiarch/strchrnul-sse2.S
+++ b/sysdeps/x86_64/multiarch/strchrnul-sse2.S
@@ -16,12 +16,10 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-#if IS_IN (libc)
-# ifndef STRCHR
-#  define STRCHR	__strchrnul_sse2
-# endif
+#ifndef STRCHRNUL
+# define STRCHRNUL	__strchrnul_sse2
 #endif
-
 #define AS_STRCHRNUL
+#define STRCHR	STRCHRNUL
 
 #include "strchr-sse2.S"