From 029fe3b4609dd84cd939b73357f37bbb75bcf82f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Sat, 13 Apr 2024 22:51:17 +0200 Subject: [PATCH] Actually check for x64 target with MSVC --- src/catch2/internal/catch_random_integer_helpers.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/catch2/internal/catch_random_integer_helpers.hpp b/src/catch2/internal/catch_random_integer_helpers.hpp index 5a94eb70..3b34be7a 100644 --- a/src/catch2/internal/catch_random_integer_helpers.hpp +++ b/src/catch2/internal/catch_random_integer_helpers.hpp @@ -24,7 +24,7 @@ // Unlike GCC, MSVC does not polyfill umul as mulh + mul pair on ARM machines. // Currently we do not bother doing this ourselves, but we could if it became // important for perf. -#elif defined( _MSC_VER ) && defined( _WIN64 ) +#elif defined( _MSC_VER ) && defined( _M_X64 ) # define CATCH_CONFIG_INTERNAL_MSVC_UMUL128 #endif