summaryrefslogtreecommitdiff
path: root/mysys/my_crc32.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/my_crc32.c')
-rw-r--r--mysys/my_crc32.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/mysys/my_crc32.c b/mysys/my_crc32.c
index 5514b01ede2..db1beb58263 100644
--- a/mysys/my_crc32.c
+++ b/mysys/my_crc32.c
@@ -17,20 +17,7 @@
#include "mysys_priv.h"
#ifndef HAVE_COMPRESS
-
-/* minimal set of defines for using crc32() from zlib codebase */
-#define _ZLIB_H
-#define ZEXPORT
-#define Z_NULL 0
-#define OF(args) args
#undef DYNAMIC_CRC_TABLE
-typedef uchar Byte;
-typedef uchar Bytef;
-typedef uint uInt;
-typedef ulong uLong;
-typedef ulong uLongf;
-
#include "../zlib/crc32.c"
-
#endif