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
This commit is contained in:
Junio C Hamano
2024-05-31 15:28:21 -07:00

View File

@ -3159,6 +3159,7 @@ int uname(struct utsname *buf)
return 0; return 0;
} }
#ifndef NO_UNIX_SOCKETS
int mingw_have_unix_sockets(void) int mingw_have_unix_sockets(void)
{ {
SC_HANDLE scm, srvc; SC_HANDLE scm, srvc;
@ -3177,3 +3178,4 @@ int mingw_have_unix_sockets(void)
} }
return ret; return ret;
} }
#endif