fix build option issues; refine cmake
This commit is contained in:
+2
-2
@@ -5,7 +5,7 @@
|
||||
#include "webcc/logger.h"
|
||||
#include "webcc/utility.h"
|
||||
|
||||
#ifdef WEBCC_ENABLE_GZIP
|
||||
#if WEBCC_ENABLE_GZIP
|
||||
#include "webcc/gzip.h"
|
||||
#endif
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace webcc {
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
#ifdef WEBCC_ENABLE_GZIP
|
||||
#if WEBCC_ENABLE_GZIP
|
||||
|
||||
bool StringBody::Compress() {
|
||||
if (compressed_) {
|
||||
|
||||
Reference in New Issue
Block a user