Commit cafdcf2e authored by Kenton Varda's avatar Kenton Varda

Flag-guard gzip stuff to un-break ekam build.

parent 742b2166
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
#if KJ_HAS_GZIP
#include "gzip.h" #include "gzip.h"
#include <kj/test.h> #include <kj/test.h>
#include <kj/debug.h> #include <kj/debug.h>
...@@ -187,3 +189,5 @@ KJ_TEST("gzip huge round trip") { ...@@ -187,3 +189,5 @@ KJ_TEST("gzip huge round trip") {
} // namespace } // namespace
} // namespace kj } // namespace kj
#endif // KJ_HAS_GZIP
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE. // THE SOFTWARE.
#if KJ_HAS_GZIP
#include "gzip.h" #include "gzip.h"
#include <kj/debug.h> #include <kj/debug.h>
...@@ -174,3 +176,5 @@ kj::Promise<void> GzipAsyncOutputStream::pump() { ...@@ -174,3 +176,5 @@ kj::Promise<void> GzipAsyncOutputStream::pump() {
} }
} // namespace kj } // namespace kj
#endif // KJ_HAS_GZIP
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment