summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-01-12 14:17:36 (GMT)
committerKitware Robot <kwrobot@kitware.com>2023-01-12 14:17:53 (GMT)
commitf9f3b20432bf46bfa8645b0ba87724b435d3bfc0 (patch)
tree1bd349b2affc9084870622ff7d86b477e4a6435e
parentdf978c5aa86f1c83828d114d9f57ba50c2e0ac6a (diff)
parent7d92e363a2b828813810a960e1dea338bd660104 (diff)
downloadCMake-f9f3b20432bf46bfa8645b0ba87724b435d3bfc0.zip
CMake-f9f3b20432bf46bfa8645b0ba87724b435d3bfc0.tar.gz
CMake-f9f3b20432bf46bfa8645b0ba87724b435d3bfc0.tar.bz2
Merge topic 'fix-cmzlib-crc32-fn-mangling'
7d92e363a2 zlib: Fix typo in mangling the crc32() function Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8049
-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 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