diff --git a/httplib.h b/httplib.h index 05732d5..3809828 100644 --- a/httplib.h +++ b/httplib.h @@ -8405,4 +8405,8 @@ inline SSL_CTX *Client::ssl_context() const { } // namespace httplib +#if defined(_WIN32) && defined(CPPHTTPLIB_USE_POLL) +#undef poll +#endif + #endif // CPPHTTPLIB_HTTPLIB_H