Browse Source

Merge topic 'fix-cmzlib-crc32-fn-mangling'

7d92e363a2 zlib: Fix typo in mangling the crc32() function

Acked-by: Kitware Robot <[email protected]>
Merge-request: !8049
Brad King 3 years ago
parent
commit
f9f3b20432
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Utilities/cmzlib/cm_zlib_mangle.h

+ 1 - 2
Utilities/cmzlib/cm_zlib_mangle.h

@@ -19,7 +19,7 @@
 #  define compress2             cm_zlib_compress2
 #  define compress2             cm_zlib_compress2
 #  define compressBound         cm_zlib_compressBound
 #  define compressBound         cm_zlib_compressBound
 #endif
 #endif
-#define crc32                 z_crc32
+#define crc32                 cm_zlib_crc32
 #define crc32_combine         cm_zlib_crc32_combine
 #define crc32_combine         cm_zlib_crc32_combine
 #define crc32_combine64       cm_zlib_crc32_combine64
 #define crc32_combine64       cm_zlib_crc32_combine64
 #define crc32_z               cm_zlib_crc32_z
 #define crc32_z               cm_zlib_crc32_z
@@ -126,7 +126,6 @@
 #define crc32_combine_gen    cm_zlib_crc32_combine_gen
 #define crc32_combine_gen    cm_zlib_crc32_combine_gen
 #define crc32_combine_op     cm_zlib_crc32_combine_op
 #define crc32_combine_op     cm_zlib_crc32_combine_op
 #define gz_error             cm_zlib_gz_error
 #define gz_error             cm_zlib_gz_error
-#define z_crc32              cm_zlib_z_crc32
 #define z_errmsg             cm_zlib_z_errmsg
 #define z_errmsg             cm_zlib_z_errmsg
 
 
 #endif
 #endif