2007-12-08 22:42:33 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
/// \file crc64_table.c
|
|
|
|
/// \brief Precalculated CRC64 table with correct endianness
|
|
|
|
//
|
2009-04-13 08:27:40 +00:00
|
|
|
// Author: Lasse Collin
|
2007-12-08 22:42:33 +00:00
|
|
|
//
|
2009-04-13 08:27:40 +00:00
|
|
|
// This file has been put into the public domain.
|
|
|
|
// You can do whatever you want with this file.
|
2007-12-08 22:42:33 +00:00
|
|
|
//
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
2008-04-25 10:58:56 +00:00
|
|
|
#include "common.h"
|
2007-12-08 22:42:33 +00:00
|
|
|
|
2019-06-24 20:45:21 +00:00
|
|
|
// Having the declaration here silences clang -Wmissing-variable-declarations.
|
|
|
|
extern const uint64_t lzma_crc64_table[4][256];
|
|
|
|
|
2007-12-08 22:42:33 +00:00
|
|
|
#ifdef WORDS_BIGENDIAN
|
|
|
|
# include "crc64_table_be.h"
|
|
|
|
#else
|
|
|
|
# include "crc64_table_le.h"
|
|
|
|
#endif
|