Skip to content

Commit 8799481

Browse files
authored
undef poll at the end if CPPHTTPLIB_USE_POLL (#1427)
* undef poll at the end if CPPHTTPLIB_USE_POLL * win32 only
1 parent 42feb7e commit 8799481

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

httplib.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8405,4 +8405,8 @@ inline SSL_CTX *Client::ssl_context() const {
84058405

84068406
} // namespace httplib
84078407

8408+
#if defined(_WIN32) && defined(CPPHTTPLIB_USE_POLL)
8409+
#undef poll
8410+
#endif
8411+
84088412
#endif // CPPHTTPLIB_HTTPLIB_H

0 commit comments

Comments
 (0)