diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-11-09 15:28:50 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-11-09 15:28:50 +0100 |
commit | 7835815c1c32cdccfa74fb10ad25de4956bdc939 (patch) | |
tree | b4e505ca1e26dc360d3bcbcc70e3f1e78eb920d8 /common/rdr/FdOutStream.cxx | |
parent | 9c181baf3c648e95a150c76eebd7ae5b5633c578 (diff) | |
download | tigervnc-7835815c1c32cdccfa74fb10ad25de4956bdc939.tar.gz tigervnc-7835815c1c32cdccfa74fb10ad25de4956bdc939.zip |
Remove old Windows CE code
Diffstat (limited to 'common/rdr/FdOutStream.cxx')
-rw-r--r-- | common/rdr/FdOutStream.cxx | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/common/rdr/FdOutStream.cxx b/common/rdr/FdOutStream.cxx index 75131a64..f4299030 100644 --- a/common/rdr/FdOutStream.cxx +++ b/common/rdr/FdOutStream.cxx @@ -198,16 +198,7 @@ int FdOutStream::writeWithTimeout(const void* data, int length, int timeoutms) FD_ZERO(&fds); FD_SET(fd, &fds); -#ifdef _WIN32_WCE - // NB: This fixes a broken Winsock2 select() behaviour. select() - // never returns for non-blocking sockets, unless they're already - // ready to be written to... - u_long zero = 0; ioctlsocket(fd, FIONBIO, &zero); -#endif n = select(fd+1, 0, &fds, 0, tvp); -#ifdef _WIN32_WCE - u_long one = 0; ioctlsocket(fd, FIONBIO, &one); -#endif } while (n < 0 && errno == EINTR); if (n < 0) throw SystemException("select",errno); |