diff options
author | leha-bot <leha-bot@yandex.ru> | 2023-01-05 02:04:19 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-01-11 22:29:04 (GMT) |
commit | 7d92e363a2b828813810a960e1dea338bd660104 (patch) | |
tree | 8bd429c16e1f1c73714feab2f4a1ef061ed7a303 /Utilities | |
parent | 33cf87619b7208e1eeef70fa3e5d0388e77bd00a (diff) | |
download | CMake-7d92e363a2b828813810a960e1dea338bd660104.zip CMake-7d92e363a2b828813810a960e1dea338bd660104.tar.gz CMake-7d92e363a2b828813810a960e1dea338bd660104.tar.bz2 |
zlib: Fix typo in mangling the crc32() function
Fix the mangling of `crc32` by commit 29c578c8fb (zlib: Mangle symbols
to avoid conflict with external transitive dependencies, 2022-06-10,
v3.24.0-rc1~7^2).
Fixes: #24281
Diffstat (limited to 'Utilities')
-rw-r--r-- | Utilities/cmzlib/cm_zlib_mangle.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Utilities/cmzlib/cm_zlib_mangle.h b/Utilities/cmzlib/cm_zlib_mangle.h index 1461e2f..d75405d 100644 --- a/Utilities/cmzlib/cm_zlib_mangle.h +++ b/Utilities/cmzlib/cm_zlib_mangle.h @@ -19,7 +19,7 @@ # define compress2 cm_zlib_compress2 # define compressBound cm_zlib_compressBound #endif -#define crc32 z_crc32 +#define crc32 cm_zlib_crc32 #define crc32_combine cm_zlib_crc32_combine #define crc32_combine64 cm_zlib_crc32_combine64 #define crc32_z cm_zlib_crc32_z @@ -126,7 +126,6 @@ #define crc32_combine_gen cm_zlib_crc32_combine_gen #define crc32_combine_op cm_zlib_crc32_combine_op #define gz_error cm_zlib_gz_error -#define z_crc32 cm_zlib_z_crc32 #define z_errmsg cm_zlib_z_errmsg #endif |