PATCH: dlls/winsock/socket.h portability fix
Alexandre Julliard
julliard at winehq.org
Mon Nov 21 16:52:41 CST 2005
Gerald Pfeifer <gerald at pfeifer.com> writes:
> On recent GNU/Linux systems like SUSE Linux 10.0 we still have it,
> so I didn't want to change the behavior there:
>
> % grep EAI_NODATA -r /usr/include/
> /usr/include/netdb.h:# define EAI_NODATA -5 /* No address associated with NAME. */
>
> I don't feel strongly either way, if you prefer yanking EAI_NODATA
> from Wine, I won't mind, but it seems to be still used there, so the
> conservative change I proposed to unbreak FreeBSD may be preferrable.
I didn't mean remove it, just add a #ifdef EAI_NODATA so that we can
cope with both cases.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list