[CRT/arm64] Fix handling of intrinsics
authorSerge Gautherie <reactos-git_serge_171003@gautherie.fr>
Mon, 24 May 2021 06:56:17 +0000 (08:56 +0200)
committerStanislav Motylkov <x86corez@gmail.com>
Tue, 11 Jan 2022 17:52:48 +0000 (20:52 +0300)
Fix msvc14.1-arm64-Release build.

Follow-up to db41787 (0.4.15-dev-2914).
CORE-17518

sdk/include/crt/math.h

index d4d2de2..2f92da2 100644 (file)
@@ -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