diff --git a/Release/src/http/common/http_compression.cpp b/Release/src/http/common/http_compression.cpp index a9cbc86e1d..691914488a 100644 --- a/Release/src/http/common/http_compression.cpp +++ b/Release/src/http/common/http_compression.cpp @@ -32,6 +32,10 @@ #if defined(CPPREST_HTTP_COMPRESSION) #include +// zconf.h may define compress +#ifdef compress +#undef compress +#endif #if !defined(CPPREST_EXCLUDE_BROTLI) #define CPPREST_BROTLI_COMPRESSION #endif // CPPREST_EXCLUDE_BROTLI