mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
Compilation fix for gcc 4.3.3: string.h + memset() || cstring + std::memset()
This commit is contained in:
parent
454318cd17
commit
ec7c34dec4
@ -344,7 +344,7 @@ bool SocketImpl::poll(const Poco::Timespan& timeout, int mode)
|
||||
|
||||
pollfd pollBuf;
|
||||
|
||||
std::memset(&pollBuf, 0, sizeof(pollfd));
|
||||
memset(&pollBuf, 0, sizeof(pollfd));
|
||||
pollBuf.fd = _sockfd;
|
||||
if (mode & SELECT_READ) pollBuf.events |= POLLIN;
|
||||
if (mode & SELECT_WRITE) pollBuf.events |= POLLOUT;
|
||||
|
Loading…
Reference in New Issue
Block a user