Actually check for x64 target with MSVC

This commit is contained in:
Martin Hořeňovský 2024-04-13 22:51:17 +02:00
parent 65794fd2b8
commit 029fe3b460
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A

View File

@ -24,7 +24,7 @@
// Unlike GCC, MSVC does not polyfill umul as mulh + mul pair on ARM machines. // 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 // Currently we do not bother doing this ourselves, but we could if it became
// important for perf. // important for perf.
#elif defined( _MSC_VER ) && defined( _WIN64 ) #elif defined( _MSC_VER ) && defined( _M_X64 )
# define CATCH_CONFIG_INTERNAL_MSVC_UMUL128 # define CATCH_CONFIG_INTERNAL_MSVC_UMUL128
#endif #endif