undef poll at the end if CPPHTTPLIB_USE_POLL (#1427)

* undef poll at the end if CPPHTTPLIB_USE_POLL

* win32 only
This commit is contained in:
Pavel Artemkin 2022-11-14 07:49:49 +05:00 committed by GitHub
parent 42feb7e8be
commit 87994811a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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