(_sys_read_ahead): Use w32_pipe_read_delay.
authorJason Rumney <jasonr@gnu.org>
Mon, 17 May 2004 21:05:58 +0000 (21:05 +0000)
committerJason Rumney <jasonr@gnu.org>
Mon, 17 May 2004 21:05:58 +0000 (21:05 +0000)
src/w32.c

index 98d6305..c4da090 100644 (file)
--- a/src/w32.c
+++ b/src/w32.c
@@ -3486,7 +3486,7 @@ sys_pipe (int * phandles)
 }
 
 /* From ntproc.c */
-extern Lisp_Object Vw32_pipe_read_delay;
+extern int w32_pipe_read_delay;
 
 /* Function to do blocking read of one byte, needed to implement
    select.  It is only allowed on sockets and pipes. */
@@ -3526,7 +3526,7 @@ _sys_read_ahead (int fd)
         shell on NT is very slow if we don't do this. */
       if (rc > 0)
        {
-         int wait = XINT (Vw32_pipe_read_delay);
+         int wait = w32_pipe_read_delay;
 
          if (wait > 0)
            Sleep (wait);