os: enable UNIX sockets on Mingw32

Mingw32 also supports unix sockets, so no need to disable them here.

Since it's now always enabled, follow-up commits can now drop all the
extra #ifdef's on UNIXCONN and so reduce complexity.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
Enrico Weigelt, metux IT consult
2025-12-13 12:02:04 +01:00
committed by Enrico Weigelt
parent 16d4d44551
commit 9a54f4b908
2 changed files with 5 additions and 7 deletions

View File

@@ -200,7 +200,7 @@ if conf_data.get('HAVE_GETPEEREID').to_int() == 0 and conf_data.get('HAVE_GETPEE
endif
endif
conf_data.set('UNIXCONN', host_machine.system() != 'windows' ? '1' : false)
conf_data.set('UNIXCONN', '1')
conf_data.set('IPv6', build_ipv6 ? '1' : false)
# potentially tunable - needed also in places that cannot include misc.h