Mercurial > hg > xemacs-beta
diff src/redisplay-x.c @ 371:cc15677e0335 r21-2b1
Import from CVS: tag r21-2b1
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:03:08 +0200 |
parents | 341dac730539 |
children | 6240c7796c7a |
line wrap: on
line diff
--- a/src/redisplay-x.c Mon Aug 13 11:01:58 2007 +0200 +++ b/src/redisplay-x.c Mon Aug 13 11:03:08 2007 +0200 @@ -2252,9 +2252,6 @@ w->pixel_width, w->pixel_height); XSync (dpy, False); -#ifdef HAVE_POLL - poll (0, 0, 100); -#else /* !HAVE_POLL */ #ifdef HAVE_SELECT { int usecs = 100000; @@ -2265,6 +2262,9 @@ select (0, 0, 0, 0, &tv); } #else +#ifdef HAVE_POLL + poll (0, 0, 100); +#else /* !HAVE_POLL */ bite me #endif /* HAVE_POLL */ #endif /* HAVE_SELECT */