From 629d01cc7e078e251da1d7743ebadccacddcfb83 Mon Sep 17 00:00:00 2001 From: Piotr Sikora Date: Wed, 15 Jun 2016 14:25:46 -0700 Subject: [PATCH] Restore C++ constants in "brotli" namespace. Signed-off-by: Piotr Sikora --- enc/compressor.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/enc/compressor.h b/enc/compressor.h index 9f981bb..a6995bc 100644 --- a/enc/compressor.h +++ b/enc/compressor.h @@ -14,6 +14,11 @@ namespace brotli { +static const int kMinWindowBits = kBrotliMinWindowBits; +static const int kMaxWindowBits = kBrotliMaxWindowBits; +static const int kMinInputBlockBits = kBrotliMinInputBlockBits; +static const int kMaxInputBlockBits = kBrotliMaxInputBlockBits; + struct BrotliParams { BrotliParams(void) : mode(MODE_GENERIC),