]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Add missing checks for 64bit arm/intel with msvc compiler
authorPavel P <pavlov.pavel@gmail.com>
Wed, 14 Feb 2024 13:26:04 +0000 (15:26 +0200)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 19 Jun 2024 12:15:54 +0000 (14:15 +0200)
crc32_braid_p.h

index 1d8a07068a4c5b389ccedc1686d0684c0e6a7008..830f4554189e3699cd9ad380e6b579919f59bc59 100644 (file)
@@ -25,7 +25,7 @@
 #  endif
 #else
 #  ifndef W
-#    if defined(__x86_64__) || defined(__aarch64__) || defined(__powerpc64__)
+#    if defined(__x86_64__) || defined(_M_AMD64) || defined(__aarch64__) || defined(_M_ARM64) || defined(__powerpc64__)
 #      define W 8
 #    else
 #      define W 4