diff options
author | Jeetu Golani <jeetu.golani@gmail.com> | 2010-03-31 22:00:04 +0530 |
---|---|---|
committer | Jeetu Golani <jeetu.golani@gmail.com> | 2010-03-31 22:00:04 +0530 |
commit | 0e0c80e749eccf121e55c1e855c48d03b54f33ef (patch) | |
tree | f86630df82ec506f046d83b25679947d8f0ad1c9 /src/xcb_in.c | |
parent | e8009194c9f5a6995c4a9b03a7a49d5bc09e96fc (diff) |
xcb_in.c #ifndef _WIN32 inside of #if USE_POLL redundant and removed
Diffstat (limited to 'src/xcb_in.c')
-rw-r--r-- | src/xcb_in.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/xcb_in.c b/src/xcb_in.c index 4191dc3..8689344 100644 --- 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); |