12940b44dSPeter Avalos /////////////////////////////////////////////////////////////////////////////// 22940b44dSPeter Avalos // 32940b44dSPeter Avalos /// \file crc32_table.c 42940b44dSPeter Avalos /// \brief Precalculated CRC32 table with correct endianness 52940b44dSPeter Avalos // 62940b44dSPeter Avalos // Author: Lasse Collin 72940b44dSPeter Avalos // 82940b44dSPeter Avalos // This file has been put into the public domain. 92940b44dSPeter Avalos // You can do whatever you want with this file. 102940b44dSPeter Avalos // 112940b44dSPeter Avalos /////////////////////////////////////////////////////////////////////////////// 122940b44dSPeter Avalos 132940b44dSPeter Avalos #include "common.h" 142940b44dSPeter Avalos 15*e151908bSDaniel Fojt // Having the declaration here silences clang -Wmissing-variable-declarations. 16*e151908bSDaniel Fojt extern const uint32_t lzma_crc32_table[8][256]; 17*e151908bSDaniel Fojt 182940b44dSPeter Avalos #ifdef WORDS_BIGENDIAN 192940b44dSPeter Avalos # include "crc32_table_be.h" 202940b44dSPeter Avalos #else 212940b44dSPeter Avalos # include "crc32_table_le.h" 222940b44dSPeter Avalos #endif 23