From c8cf438d44f7a4cd6700dbf9621329bffd960bf5 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 13 May 2009 23:27:00 +0000 Subject: 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. --- buffer-poll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'buffer-poll.c') 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 @@ -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 -- cgit