projects
/
free-sw
/
xcb
/
libxcb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e800919
)
xcb_in.c #ifndef _WIN32 inside of #if USE_POLL redundant and removed
author
Jeetu Golani
<jeetu.golani@gmail.com>
Wed, 31 Mar 2010 16:30:04 +0000
(22:00 +0530)
committer
Jeetu Golani
<jeetu.golani@gmail.com>
Wed, 31 Mar 2010 16:30:04 +0000
(22:00 +0530)
src/xcb_in.c
patch
|
blob
|
history
diff --git
a/src/xcb_in.c
b/src/xcb_in.c
index
4191dc3
..
8689344
100644
(file)
--- a/
src/xcb_in.c
+++ b/
src/xcb_in.c
@@
-286,7
+286,6
@@
static int read_block(const int fd, void *buf, const ssize_t len)
#endif /* !_Win32 */
{
#if USE_POLL
-#ifndef _WIN32
struct pollfd pfd;
pfd.fd = fd;
pfd.events = POLLIN;
@@
-294,7
+293,6
@@
static int read_block(const int fd, void *buf, const ssize_t len)
do {
ret = poll(&pfd, 1, -1);
} while (ret == -1 && errno == EINTR);
-#endif /* !_WIN32 */
#else
fd_set fds;
FD_ZERO(&fds);