https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9a523c81356bb0349b7e54...
commit 9a523c81356bb0349b7e545611bcad8ca3325b69 Author: Serge Gautherie reactos-git_serge_171003@gautherie.fr AuthorDate: Mon May 24 08:56:17 2021 +0200 Commit: Stanislav Motylkov x86corez@gmail.com CommitDate: Tue Jan 11 20:52:48 2022 +0300
[CRT/arm64] Fix handling of intrinsics
Fix msvc14.1-arm64-Release build.
Follow-up to db41787 (0.4.15-dev-2914). CORE-17518 --- sdk/include/crt/math.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sdk/include/crt/math.h b/sdk/include/crt/math.h index d4d2de29ee4..2f92da209fe 100644 --- a/sdk/include/crt/math.h +++ b/sdk/include/crt/math.h @@ -202,9 +202,9 @@ _Check_return_ float __cdecl tanhf(_In_ float x);
#if defined(_MSC_VER) /* Make sure intrinsics don't get in our way */ -#if defined(_M_AMD64) || defined(_M_ARM) +#if defined(_M_AMD64) || defined(_M_ARM) || defined(_M_ARM64) #pragma function(acosf,asinf,atanf,atan2f,ceilf,cosf,coshf,expf,floorf,fmodf,logf,log10f,powf,sinf,sinhf,sqrtf,tanf,tanhf) -#endif /* defined(_M_AMD64) || defined(_M_ARM) */ +#endif /* defined(_M_AMD64) || defined(_M_ARM) || defined(_M_ARM64) */ #if (_MSC_VER >= 1920) #pragma function(_hypotf) #endif