Merge branch 'ma/win32-unix-domain-socket'

Build fix.

* ma/win32-unix-domain-socket:
  win32: fix building with NO_UNIX_SOCKETS
This commit is contained in:
Junio C Hamano 2024-05-13 10:19:45 -07:00
commit e05b9e9a39

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