pcompress/lzma/crc64_table.c

25 lines
623 B
C
Raw Normal View History

2012-05-28 14:49:29 +00:00
///////////////////////////////////////////////////////////////////////////////
//
/// \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.
//
///////////////////////////////////////////////////////////////////////////////
/*
* This gives us BYTE_ORDER macro both on Linux and Solaris derived
* systems.
*/
#include <arpa/nameser_compat.h>
#if BYTE_ORDER == LITTLE_ENDIAN
# include "crc64_table_le.h"
#else
# include "crc64_table_be.h"
#endif