diff options
author | Daniel Black <daniel@linux.ibm.com> | 2020-06-03 18:59:20 +1000 |
---|---|---|
committer | Daniel Black <daniel@linux.ibm.com> | 2020-06-03 18:59:20 +1000 |
commit | 463a8fc5fd8890047159f59b58d295248987265e (patch) | |
tree | 24634f82dd9aec52ae32300ab19c4c528e908695 /mysys/checksum.c | |
parent | 701efbb25b738f0c971798c5234d4d66b9235e47 (diff) | |
download | mariadb-git-463a8fc5fd8890047159f59b58d295248987265e.tar.gz |
MDEV-22641: postfix - crc32{,c} fixups for ppc64
Diffstat (limited to 'mysys/checksum.c')
-rw-r--r-- | mysys/checksum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/checksum.c b/mysys/checksum.c index e86c2726722..948b9be6164 100644 --- a/mysys/checksum.c +++ b/mysys/checksum.c @@ -18,6 +18,7 @@ #include <my_sys.h> #include <zlib.h> +#if !defined(HAVE_CRC32_VPMSUM) /* TODO: remove this once zlib adds inherent support for hardware accelerated crc32 for all architectures. */ static unsigned int my_crc32_zlib(unsigned int crc, const void *data, @@ -26,7 +27,6 @@ static unsigned int my_crc32_zlib(unsigned int crc, const void *data, return (unsigned int) crc32(crc, data, (unsigned int) len); } -#if !defined(HAVE_CRC32_VPMSUM) my_crc32_t my_checksum= my_crc32_zlib; #endif |