mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-12-17 08:56:42 -05:00
win32: Misc Unix socket fixes
* Make pa_parse_address recognize Unix socket addresses with Windows-style absolute paths. * Treat WASEINVAL as a stale socket. * Make HAVE_AF_UNIX in config templates recognize winsock2.h. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/546>
This commit is contained in:
parent
a01cce726f
commit
6222f610e8
3 changed files with 7 additions and 2 deletions
|
|
@ -100,7 +100,7 @@ default_conf = configuration_data()
|
|||
default_conf.merge_from(cdata)
|
||||
default_conf.set('PA_BINARY', cdata.get_unquoted('PA_BINARY'))
|
||||
default_conf.set('PA_SOEXT', cdata.get_unquoted('PA_SOEXT'))
|
||||
default_conf.set10('HAVE_AF_UNIX', cc.has_header('sys/un.h'))
|
||||
default_conf.set10('HAVE_AF_UNIX', cc.has_header('sys/un.h') ? true : cc.has_header('winsock2.h'))
|
||||
default_conf.set10('OS_IS_WIN32', host_machine.system() == 'windows')
|
||||
default_conf.set10('HAVE_MKFIFO', cc.has_function('mkfifo'))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue