From 281cf049fb68a5bd7fa4bfc5260d06cc8fffbe58 Mon Sep 17 00:00:00 2001 From: reito Date: Sun, 8 Dec 2024 23:17:40 +0800 Subject: [PATCH] src: fix mingw --- src/win/pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/pipe.c b/src/win/pipe.c index 85864159..7ffbefe3 100644 --- a/src/win/pipe.c +++ b/src/win/pipe.c @@ -107,7 +107,7 @@ static void eof_timer_close_cb(uv_handle_t* handle); static int should_use_named_pipe(const char *s) { -#if !defined(__MINGW32__) +#if !defined(UV__DISABLE_WIN_UDS_PIPE) /* Tell if the name is started by the named pipe prefix */ return strstr(s, pipe_prefix) == s; #else