summaryrefslogtreecommitdiff
path: root/Utilities/cmzlib
diff options
context:
space:
mode:
authorleha-bot <leha-bot@yandex.ru>2023-01-05 05:04:19 +0300
committerBrad King <brad.king@kitware.com>2023-01-11 17:29:04 -0500
commit7d92e363a2b828813810a960e1dea338bd660104 (patch)
tree8bd429c16e1f1c73714feab2f4a1ef061ed7a303 /Utilities/cmzlib
parent33cf87619b7208e1eeef70fa3e5d0388e77bd00a (diff)
downloadcmake-7d92e363a2b828813810a960e1dea338bd660104.tar.gz
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/cmzlib')
-rw-r--r--Utilities/cmzlib/cm_zlib_mangle.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Utilities/cmzlib/cm_zlib_mangle.h b/Utilities/cmzlib/cm_zlib_mangle.h
index 1461e2f77a..d75405d2ff 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