diff options
Diffstat (limited to 'c/enc/find_match_length.h')
-rw-r--r-- | c/enc/find_match_length.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c/enc/find_match_length.h b/c/enc/find_match_length.h index 4184531..bc428cf 100644 --- a/c/enc/find_match_length.h +++ b/c/enc/find_match_length.h @@ -9,8 +9,8 @@ #ifndef BROTLI_ENC_FIND_MATCH_LENGTH_H_ #define BROTLI_ENC_FIND_MATCH_LENGTH_H_ +#include "../common/platform.h" #include <brotli/types.h> -#include "./port.h" #if defined(__cplusplus) || defined(c_plusplus) extern "C" { @@ -60,8 +60,8 @@ static BROTLI_INLINE size_t FindMatchLengthWithLimit(const uint8_t* s1, the first non-matching bit and use that to calculate the total length of the match. */ while (s2_ptr <= s2_limit - 4 && - BROTLI_UNALIGNED_LOAD32(s2_ptr) == - BROTLI_UNALIGNED_LOAD32(s1 + matched)) { + BrotliUnalignedRead32(s2_ptr) == + BrotliUnalignedRead32(s1 + matched)) { s2_ptr += 4; matched += 4; } |