diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-05-13 10:19:45 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-05-13 10:19:45 -0700 |
commit | e05b9e9a39929657198685d7bd95ca4f6909b5bc (patch) | |
tree | 3061b15c5b096b4b5421afef9c3afecaa2c7ff10 | |
parent | 0f3415f1f8478b05e64db11eb8aaa2915e48fef6 (diff) | |
parent | 395c130fd80f22e213d6dd56c2b14fa653d5ffda (diff) | |
download | git-e05b9e9a39929657198685d7bd95ca4f6909b5bc.tar.gz |
Merge branch 'ma/win32-unix-domain-socket'
Build fix.
* ma/win32-unix-domain-socket:
win32: fix building with NO_UNIX_SOCKETS
-rw-r--r-- | compat/mingw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compat/mingw.c b/compat/mingw.c index 4876344b5b..6b06ea540f 100644 --- a/compat/mingw.c +++ b/compat/mingw.c @@ -3159,6 +3159,7 @@ int uname(struct utsname *buf) return 0; } +#ifndef NO_UNIX_SOCKETS int mingw_have_unix_sockets(void) { SC_HANDLE scm, srvc; @@ -3177,3 +3178,4 @@ int mingw_have_unix_sockets(void) } return ret; } +#endif |