fix build option issues; refine cmake
This commit is contained in:
+2
-2
@@ -29,7 +29,7 @@ public:
|
||||
return GetSize() == 0;
|
||||
}
|
||||
|
||||
#ifdef WEBCC_ENABLE_GZIP
|
||||
#if 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_;
|
||||
}
|
||||
|
||||
#ifdef WEBCC_ENABLE_GZIP
|
||||
#if WEBCC_ENABLE_GZIP
|
||||
|
||||
bool Compress() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user