mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
09850cc913
git-svn-id: file:///svn/tokudb@3792 c7de825b-a66e-492c-adef-691d508d4ae1
11 lines
319 B
C
11 lines
319 B
C
#include <sys/types.h>
|
|
#include <zlib.h>
|
|
// hack: include crc.h below so we can deprecate the call to crc32
|
|
|
|
inline u_int32_t toku_crc32 (u_int32_t oldcrc32, const void *data, u_int32_t len) {
|
|
if (len==0) return oldcrc32;
|
|
else return crc32((unsigned long)oldcrc32, data, (uInt)len);
|
|
}
|
|
|
|
// Hack
|
|
#include "crc.h"
|