| Index: third_party/brotli/common/version.h
|
| diff --git a/third_party/brotli/enc/compressor.h b/third_party/brotli/common/version.h
|
| similarity index 28%
|
| rename from third_party/brotli/enc/compressor.h
|
| rename to third_party/brotli/common/version.h
|
| index 1dfc42e889de6c294463fd595ec9a7c285f4cb3e..2cf6133304b3f85840d57dff3f8f392722b85601 100644
|
| --- a/third_party/brotli/enc/compressor.h
|
| +++ b/third_party/brotli/common/version.h
|
| @@ -4,12 +4,16 @@
|
| See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
|
| */
|
|
|
| -/* C++ API for Brotli compression. */
|
| +/* Version definition. */
|
|
|
| -#ifndef BROTLI_ENC_COMPRESSOR_H_
|
| -#define BROTLI_ENC_COMPRESSOR_H_
|
| +#ifndef BROTLI_COMMON_VERSION_H_
|
| +#define BROTLI_COMMON_VERSION_H_
|
|
|
| -#include "./encode.h"
|
| -#include "./streams.h"
|
| +/* This macro should only be used when library is compiled together with client.
|
| + If library is dynamically linked, use BrotliDecoderVersion and
|
| + BrotliEncoderVersion methods. */
|
|
|
| -#endif /* BROTLI_ENC_COMPRESSOR_H_ */
|
| +/* Semantic version, claculated as (MAJOR << 24) | (MINOR << 12) | PATCH */
|
| +#define BROTLI_VERSION 0x1000000
|
| +
|
| +#endif /* BROTLI_COMMON_VERSION_H_ */
|
|
|