diff options
Diffstat (limited to 'buffer-poll.c')
-rw-r--r-- | buffer-poll.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buffer-poll.c b/buffer-poll.c index efd294c2..40c1984b 100644 --- a/buffer-poll.c +++ b/buffer-poll.c @@ -1,4 +1,4 @@ -/* $Id: buffer-poll.c,v 1.10 2008-09-09 22:16:36 nicm Exp $ */ +/* $Id: buffer-poll.c,v 1.11 2009-05-13 23:27:00 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -46,7 +46,7 @@ buffer_poll(struct pollfd *pfd, struct buffer *in, struct buffer *out) pfd->fd, pfd->revents, BUFFER_USED(out), BUFFER_USED(in)); #endif -#ifndef BROKEN_POLL +#ifdef HAVE_POLL if (pfd->revents & (POLLERR|POLLNVAL|POLLHUP)) return (-1); #endif |