mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 17:25:03 +02:00
fix(PollSet): Compiling with clang_cl_x64_x64 on Visual Studio 2022 failed #3716
This commit is contained in:
parent
86a4f0045e
commit
3a39fa5319
@ -74,7 +74,11 @@ public:
|
||||
_epollfd(epoll_create(1))
|
||||
{
|
||||
int err = addFD(_eventfd, PollSet::POLL_READ, EPOLL_CTL_ADD);
|
||||
#ifdef WEPOLL_H_
|
||||
if ((err) || !_epollfd)
|
||||
#else
|
||||
if ((err) || (_epollfd < 0))
|
||||
#endif
|
||||
{
|
||||
SocketImpl::error();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user