[ovs-dev] [PATCH 05/14] socket-util: getaddrinfo return values for Windows.

Gurucharan Shetty shettyg at nicira.com
Fri Feb 21 16:10:58 UTC 2014


On Thu, Feb 20, 2014 at 1:41 PM, Ben Pfaff <blp at nicira.com> wrote:
> On Wed, Feb 19, 2014 at 03:36:16PM -0800, Gurucharan Shetty wrote:
>> Couple of return values need changes.
>> * EAI_NODATA is the same as EAI_NONAME. So we prevent duplicate cases.
>> * Windows does not have a EAI_SYSTEM.
>>
>> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
>
> To make this a little less Win32 specific, can we use "#if
> defined(EAI_NODATA) && EAI_NODATA != EAI_NONAME" instead of adding the
> #ifndef _WIN32?
Yes. I will make the change and push.
>
> Acked-by: Ben Pfaff <blp at nicira.com>



More information about the dev mailing list