From 620402a833a4e42590a26390d2b7a39fd39e3ea9 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Wed, 19 Aug 2009 09:00:06 +0000 Subject: This is a better fix for OS X stupidity. --- tty.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tty.c') diff --git a/tty.c b/tty.c index 2047fbe1..ef47391c 100644 --- a/tty.c +++ b/tty.c @@ -1,4 +1,4 @@ -/* $Id: tty.c,v 1.128 2009-08-16 19:31:37 tcunha Exp $ */ +/* $Id: tty.c,v 1.129 2009-08-19 09:00:06 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -252,10 +252,8 @@ tty_detect_utf8(struct tty *tty) } if (nfds == 0) break; -#ifdef HAVE_POLL if (pfd.revents & (POLLERR|POLLNVAL|POLLHUP)) break; -#endif if (!(pfd.revents & POLLIN)) continue; -- cgit