summaryrefslogtreecommitdiffstats
path: root/contrib/xz/src/liblzma/check/crc64_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/xz/src/liblzma/check/crc64_table.c')
-rw-r--r--contrib/xz/src/liblzma/check/crc64_table.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/xz/src/liblzma/check/crc64_table.c b/contrib/xz/src/liblzma/check/crc64_table.c
new file mode 100644
index 0000000..1fbcd94
--- /dev/null
+++ b/contrib/xz/src/liblzma/check/crc64_table.c
@@ -0,0 +1,19 @@
+///////////////////////////////////////////////////////////////////////////////
+//
+/// \file crc64_table.c
+/// \brief Precalculated CRC64 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 "crc64_table_be.h"
+#else
+# include "crc64_table_le.h"
+#endif
OpenPOWER on IntegriCloud