mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-23 06:59:53 -05:00
win32: Fix minimum Windows version for inet_{ntop,pton}
https://docs.microsoft.com/en-us/windows/win32/api/ws2tcpip/nf-ws2tcpip-inet_ntop#requirements Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/546>
This commit is contained in:
parent
9d27317873
commit
ac8e786026
2 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@
|
|||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#if !defined(HAVE_ARPA_INET_H) && defined(OS_IS_WIN32) && (_WIN32_WINNT <= 0x0600)
|
||||
#if !defined(HAVE_ARPA_INET_H) && defined(OS_IS_WIN32) && (_WIN32_WINNT < 0x0600)
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <pulsecore/socket.h>
|
||||
|
||||
#if (_WIN32_WINNT <= 0x0600)
|
||||
#if (_WIN32_WINNT < 0x0600)
|
||||
|
||||
const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue