mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
liblzma: Include common.h in crc_common.h.
crc_common.h depends on common.h. The headers include common.h except when there is a reason to not do so.
This commit is contained in:
parent
e13b7947b9
commit
2773538049
2 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,6 @@
|
||||||
//
|
//
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#include "common.h"
|
|
||||||
#include "crc_common.h"
|
#include "crc_common.h"
|
||||||
#include <immintrin.h>
|
#include <immintrin.h>
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,9 @@
|
||||||
#ifndef LZMA_CRC_COMMON_H
|
#ifndef LZMA_CRC_COMMON_H
|
||||||
#define LZMA_CRC_COMMON_H
|
#define LZMA_CRC_COMMON_H
|
||||||
|
|
||||||
|
#include "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)
|
||||||
|
|
Loading…
Reference in a new issue