summaryrefslogtreecommitdiffstats
path: root/buffer-poll.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-05-13 23:27:00 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-05-13 23:27:00 +0000
commitc8cf438d44f7a4cd6700dbf9621329bffd960bf5 (patch)
tree7959216ce7a758ca94acbd13881ee6f434590916 /buffer-poll.c
parente1b4a377222c53a186de6dabca5cb0068a1c7738 (diff)
Rename all feature flags to HAVE_* and move out of makefiles into a configure
script which must be run before building. Still two makefiles but they are a hell of a lot simpler. HAVE_* also will make it easier to move to $buildsystem if necessary later.
Diffstat (limited to 'buffer-poll.c')
-rw-r--r--buffer-poll.c4
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