vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Tue Jan 15 16:59:52 2013 +0100| [f570e4e9ee08139489f4a701a6b8db8f400a32c3] | committer: Jean-Baptiste Kempf
Win32: we need gai_strerrorA and not gai_strerrorW > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f570e4e9ee08139489f4a701a6b8db8f400a32c3 --- include/vlc_network.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/vlc_network.h b/include/vlc_network.h index b5dc66e..699e8af 100644 --- a/include/vlc_network.h +++ b/include/vlc_network.h @@ -226,6 +226,11 @@ VLC_API ssize_t net_vaPrintf( vlc_object_t *p_this, int fd, const v_socket_t *, # define AI_IDN 0 /* GNU/libc extension */ #endif +#ifdef WIN32 +# undef gai_strerror +# define gai_strerror gai_strerrorA +#endif + #ifdef __OS2__ # ifndef NI_NUMERICHOST # define NI_NUMERICHOST 0x01 _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
