diff --git a/sysdeps/x86_64/multiarch/memcmpeq-sse2.S b/sysdeps/x86_64/multiarch/memcmpeq-sse2.S index b80a29d4b0..de7f5a7525 100644 --- a/sysdeps/x86_64/multiarch/memcmpeq-sse2.S +++ b/sysdeps/x86_64/multiarch/memcmpeq-sse2.S @@ -16,8 +16,10 @@ License along with the GNU C Library; if not, see . */ -#ifndef memcmp +#if IS_IN (libc) # define memcmp __memcmpeq_sse2 +#else +# define memcmp __memcmpeq #endif #define USE_AS_MEMCMPEQ 1 #include "memcmp-sse2.S"