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:
parent
40abd88afc
commit
e13b7947b9
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,9 @@
|
||||||
//
|
//
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
#ifndef LZMA_CRC_COMMON_H
|
||||||
|
#define LZMA_CRC_COMMON_H
|
||||||
|
|
||||||
#ifdef WORDS_BIGENDIAN
|
#ifdef WORDS_BIGENDIAN
|
||||||
# define A(x) ((x) >> 24)
|
# define A(x) ((x) >> 24)
|
||||||
# define B(x) (((x) >> 16) & 0xFF)
|
# 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.
|
/// CRC64 implemented with the x86 CLMUL instruction.
|
||||||
extern uint64_t lzma_crc64_clmul(const uint8_t *buf, size_t size,
|
extern uint64_t lzma_crc64_clmul(const uint8_t *buf, size_t size,
|
||||||
uint64_t crc);
|
uint64_t crc);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue