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