Skip to content

Commit 6e90e88

Browse files
committed
Merge branch 'ma/win32-unix-domain-socket' into maint-2.45
Build fix. * ma/win32-unix-domain-socket: win32: fix building with NO_UNIX_SOCKETS
2 parents 104cf14 + 395c130 commit 6e90e88

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compat/mingw.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3159,6 +3159,7 @@ int uname(struct utsname *buf)
31593159
return 0;
31603160
}
31613161

3162+
#ifndef NO_UNIX_SOCKETS
31623163
int mingw_have_unix_sockets(void)
31633164
{
31643165
SC_HANDLE scm, srvc;
@@ -3177,3 +3178,4 @@ int mingw_have_unix_sockets(void)
31773178
}
31783179
return ret;
31793180
}
3181+
#endif

0 commit comments

Comments
 (0)