mirror of https://code.videolan.org/videolan/vlc
inet_pton: don't redefine EAFNOSUPPORT for Win32
It's officially supported by the Windows SDK. Callers of these POSIX API's don't expect to check errno is WSAEAFNOSUPPORT.
This commit is contained in:
parent
3f4c1a2647
commit
4e6f2c60a3
|
@ -31,8 +31,6 @@
|
|||
#elif defined(_WIN32)
|
||||
# include <winsock2.h>
|
||||
# include <ws2tcpip.h>
|
||||
# undef EAFNOSUPPORT
|
||||
# define EAFNOSUPPORT WSAEAFNOSUPPORT
|
||||
#endif
|
||||
|
||||
int inet_pton (int af, const char *src, void *dst)
|
||||
|
|
Loading…
Reference in New Issue