mirror of https://code.videolan.org/videolan/vlc
vlc_network: map gai_strerror to the ANSI version on all Windows UNICODE builds
It doesn't depend on the WINAPI family. VLC expects it to return char*.
This commit is contained in:
parent
b48cb18929
commit
72843f162c
|
@ -286,7 +286,7 @@ static inline int vlc_setsockopt(int s, int level, int name,
|
|||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
# if !defined(WINAPI_FAMILY) || WINAPI_FAMILY != WINAPI_FAMILY_APP
|
||||
# if defined(UNICODE)
|
||||
# undef gai_strerror
|
||||
# define gai_strerror gai_strerrorA
|
||||
# endif
|
||||
|
|
Loading…
Reference in New Issue