summaryrefslogtreecommitdiffstats
path: root/storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/src/liblzma/check/crc32_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/src/liblzma/check/crc32_table.c')
-rw-r--r--storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/src/liblzma/check/crc32_table.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/src/liblzma/check/crc32_table.c b/storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/src/liblzma/check/crc32_table.c
new file mode 100644
index 00000000..11b3d2bb
--- /dev/null
+++ b/storage/tokudb/PerconaFT/third_party/xz-4.999.9beta/src/liblzma/check/crc32_table.c
@@ -0,0 +1,21 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil -*- */
+// vim: expandtab:ts=8:sw=4:softtabstop=4:
+///////////////////////////////////////////////////////////////////////////////
+//
+/// \file crc32_table.c
+/// \brief Precalculated CRC32 table with correct endianness
+//
+// Author: Lasse Collin
+//
+// This file has been put into the public domain.
+// You can do whatever you want with this file.
+//
+///////////////////////////////////////////////////////////////////////////////
+
+#include "common.h"
+
+#ifdef WORDS_BIGENDIAN
+# include "crc32_table_be.h"
+#else
+# include "crc32_table_le.h"
+#endif