From: Noah Goldstein Date: Mon, 8 Aug 2022 03:26:21 +0000 (+0800) Subject: x86: Fix `#define STRCPY` guard in strcpy-sse2.S X-Git-Tag: glibc-2.37~437 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=312ded0d6339e8c463d0395397b5825401b14f54;p=thirdparty%2Fglibc.git x86: Fix `#define STRCPY` guard in strcpy-sse2.S `#ifndef STPCPY` is incorrect for checking if `STRCPY` is already defined. It doesn't end up mattering as the whole check is guarded by `#if IS_IN (libc)` but is incorrect none the less. --- diff --git a/sysdeps/x86_64/multiarch/strcpy-sse2.S b/sysdeps/x86_64/multiarch/strcpy-sse2.S index e29b4113146..d6b9bae5f8e 100644 --- a/sysdeps/x86_64/multiarch/strcpy-sse2.S +++ b/sysdeps/x86_64/multiarch/strcpy-sse2.S @@ -22,7 +22,7 @@ # include -# ifndef STPCPY +# ifndef STRCPY # define STRCPY __strcpy_sse2 # endif