ray/thirdparty/patches/hiredis-windows-sigpipe.patch
2019-12-17 15:32:47 -08:00

9 lines
272 B
Diff

diff --git deps/hiredis/test.c deps/hiredis/test.c
--- deps/hiredis/test.c
+++ deps/hiredis/test.c
@@ -762,2 +762,4 @@ int main(int argc, char **argv) {
+#ifndef _WIN32
/* Ignore broken pipe signal (for I/O error tests). */
signal(SIGPIPE, SIG_IGN);
+#endif
--