diff src/redisplay-x.c @ 314:341dac730539 r21-0b55

Import from CVS: tag r21-0b55
author cvs
date Mon, 13 Aug 2007 10:44:22 +0200
parents 558f606b08ae
children cc15677e0335
line wrap: on
line diff
--- a/src/redisplay-x.c	Mon Aug 13 10:43:56 2007 +0200
+++ b/src/redisplay-x.c	Mon Aug 13 10:44:22 2007 +0200
@@ -2252,6 +2252,9 @@
 		  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;
@@ -2262,9 +2265,6 @@
     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 */