From d9df97725a0f56cba5094a4d344c60a7a13859b5 Mon Sep 17 00:00:00 2001 From: reito Date: Wed, 11 Dec 2024 00:07:44 +0800 Subject: [PATCH] src: remove cond macro for should use uds pipe --- src/win/pipe.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/win/pipe.c b/src/win/pipe.c index 286f64b8..be91cfc6 100644 --- a/src/win/pipe.c +++ b/src/win/pipe.c @@ -104,13 +104,8 @@ static void eof_timer_close_cb(uv_handle_t* handle); static int uv__should_use_uds_pipe(const char *s) { -#if defined(UV__ENABLE_WIN_UDS_PIPE) /* Tell if the name is not started by the named pipe prefix */ return strstr(s, pipe_prefix) != s; -#else - /* Disable this on mingw */ - return 0; -#endif }