Fix build

This commit is contained in:
Eelco Dolstra 2018-03-22 13:46:19 +01:00
parent ed87fd17dd
commit 28eb9621cc
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -134,8 +134,8 @@ static void decompressBrotli(Source & source, Sink & sink)
{ {
#if !HAVE_BROTLI #if !HAVE_BROTLI
RunOptions options(BROTLI, {"-d"}); RunOptions options(BROTLI, {"-d"});
options.stdin = &source; options.standardIn = &source;
options.stdout = &sink; options.standardOut = &sink;
runProgram2(options); runProgram2(options);
#else #else
auto *s = BrotliDecoderCreateInstance(nullptr, nullptr, nullptr); auto *s = BrotliDecoderCreateInstance(nullptr, nullptr, nullptr);