PATCH: (enhanced) getaddrinfo
Alexandre Julliard
julliard at winehq.org
Fri Nov 11 05:12:38 CST 2005
Marcus Meissner <marcus at jet.franken.de> writes:
> + /* NOTE: In theory we would need to convert "hints" too.
> + * However the addrinfo fields that vary between Windows and UNIX are
> + * defined to be 0 or NULL for "hints" , so it is safe to use
> + * the windows struct.
> + */
There is no guarantee that the structures have the same layout, so
it's definitely not safe, you have to convert from the Windows
format.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list