aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2023-10-18 14:30:00 +0300
committerJia Tan <jiat0218@gmail.com>2023-10-18 23:54:41 +0800
commit5ce0f7a48bdf5c3b45430850a4487307afac6143 (patch)
tree8e18415a7ed4247fba3b17e75203ddb7d9ac6a79
parentliblzma: Include common.h in crc_common.h. (diff)
downloadxz-5ce0f7a48bdf5c3b45430850a4487307afac6143.tar.xz
liblzma: CRC_USE_GENERIC_FOR_SMALL_INPUTS cannot be used with ifunc.
Diffstat (limited to '')
-rw-r--r--src/liblzma/check/crc_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/liblzma/check/crc_common.h b/src/liblzma/check/crc_common.h
index 0dd4faec..51ddd9d5 100644
--- a/src/liblzma/check/crc_common.h
+++ b/src/liblzma/check/crc_common.h
@@ -89,7 +89,9 @@
// 16 bytes and CLMUL for bigger inputs. It saves a little in code
// size since the special cases for 0-16-byte inputs will be omitted
// from the CLMUL code.
-# define CRC_USE_GENERIC_FOR_SMALL_INPUTS 1
+# ifndef CRC_USE_IFUNC
+# define CRC_USE_GENERIC_FOR_SMALL_INPUTS 1
+# endif
*/
# if defined(_MSC_VER)