refine the usage of build options

This commit is contained in:
Chunting Gu
2021-02-01 09:23:53 +08:00
parent 233aa5910c
commit 1b8b0b24ac
19 changed files with 48 additions and 45 deletions
+2 -2
View File
@@ -29,7 +29,7 @@ public:
return GetSize() == 0;
}
#if WEBCC_ENABLE_GZIP
#ifdef WEBCC_ENABLE_GZIP
// Compress the data with Gzip.
// If data size <= threshold (1400 bytes), no compression will be taken
@@ -90,7 +90,7 @@ public:
return compressed_;
}
#if WEBCC_ENABLE_GZIP
#ifdef WEBCC_ENABLE_GZIP
bool Compress() override;