1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

liblzma: Add include guards to crc_common.h.

This commit is contained in:
Jia Tan 2023-10-18 01:23:26 +08:00
parent 40abd88afc
commit e13b7947b9

View file

@ -13,6 +13,9 @@
//
///////////////////////////////////////////////////////////////////////////////
#ifndef LZMA_CRC_COMMON_H
#define LZMA_CRC_COMMON_H
#ifdef WORDS_BIGENDIAN
# define A(x) ((x) >> 24)
# define B(x) (((x) >> 16) & 0xFF)
@ -104,3 +107,5 @@ extern uint32_t lzma_crc32_clmul(const uint8_t *buf, size_t size,
/// CRC64 implemented with the x86 CLMUL instruction.
extern uint64_t lzma_crc64_clmul(const uint8_t *buf, size_t size,
uint64_t crc);
#endif