Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/internal
diff options
context:
space:
mode:
authorMartin Hořeňovský2024-04-13 22:51:17 +0200
committerMartin Hořeňovský2024-04-13 22:51:17 +0200
commit029fe3b4609dd84cd939b73357f37bbb75bcf82f (patch)
treea42fe29bc9b7005aa8d1407e0763f13aed1000f3 /src/catch2/internal
parent65794fd2b8fd05c2d5524acf44bc9ac2bad19d97 (diff)
downloadcatch3-029fe3b4609dd84cd939b73357f37bbb75bcf82f.tar.gz
Actually check for x64 target with MSVC
Diffstat (limited to 'src/catch2/internal')
-rw-r--r--src/catch2/internal/catch_random_integer_helpers.hpp2
1 files changed, 1 insertions, 1 deletions
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