about summary refs log tree commit diff
path: root/sysdeps/x86_64/multiarch/strnlen-sse2.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/x86_64/multiarch/strnlen-sse2.S')
-rw-r--r--sysdeps/x86_64/multiarch/strnlen-sse2.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/x86_64/multiarch/strnlen-sse2.S b/sysdeps/x86_64/multiarch/strnlen-sse2.S
index a50c7d6a28..8841ba9faf 100644
--- a/sysdeps/x86_64/multiarch/strnlen-sse2.S
+++ b/sysdeps/x86_64/multiarch/strnlen-sse2.S
@@ -16,11 +16,11 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-#if IS_IN (libc)
-# ifndef STRLEN
-#  define STRLEN	__strnlen_sse2
-# endif
+#ifndef STRNLEN
+# define STRNLEN	__strnlen_sse2
 #endif
 
-#define AS_STRNLEN
+#define AS_STRNLEN	1
+#define STRLEN	STRNLEN
+
 #include "strlen-sse2.S"