ext/libuv/test/test-ping-pong.c in libuv-3.1.7 vs ext/libuv/test/test-ping-pong.c in libuv-3.1.8

- old
+ new

@@ -25,10 +25,14 @@ #include <stdlib.h> #include <stdio.h> static int completed_pingers = 0; +#if defined(__CYGWIN__) || defined(__MSYS__) +#define NUM_PINGS 100 /* fewer pings to avoid timeout */ +#else #define NUM_PINGS 1000 +#endif /* 64 bytes is enough for a pinger */ #define BUFSIZE 10240 static char PING[] = "PING\n";