Skip to content

Commit ec7c34d

Browse files
author
Marian Krivos
committed
Compilation fix for gcc 4.3.3: string.h + memset() || cstring + std::memset()
1 parent 454318c commit ec7c34d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Net/src/SocketImpl.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ bool SocketImpl::poll(const Poco::Timespan& timeout, int mode)
344344

345345
pollfd pollBuf;
346346

347-
std::memset(&pollBuf, 0, sizeof(pollfd));
347+
memset(&pollBuf, 0, sizeof(pollfd));
348348
pollBuf.fd = _sockfd;
349349
if (mode & SELECT_READ) pollBuf.events |= POLLIN;
350350
if (mode & SELECT_WRITE) pollBuf.events |= POLLOUT;

0 commit comments

Comments
 (0)