src: fix mingw

This commit is contained in:
reito 2024-12-08 23:17:40 +08:00
parent 2254687ad4
commit 281cf049fb

View File

@ -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