From ec7c34dec4f5c5846b92a18c59a6180709dff738 Mon Sep 17 00:00:00 2001 From: Marian Krivos Date: Sat, 14 Feb 2009 15:47:11 +0000 Subject: [PATCH] Compilation fix for gcc 4.3.3: string.h + memset() || cstring + std::memset() --- Net/src/SocketImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Net/src/SocketImpl.cpp b/Net/src/SocketImpl.cpp index ea4291585..60185f400 100644 --- a/Net/src/SocketImpl.cpp +++ b/Net/src/SocketImpl.cpp @@ -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;