Hi, The error codes returned by getaddrinfo and getnameinfo are defined as int values. The below patch fixes that for EAI_NODATA. Ok?
Thanks, Corinna * ws2tcpip.h (EAI_NODATA): Define as int value. Index: ws2tcpip.h =================================================================== --- ws2tcpip.h (revision 5238) +++ ws2tcpip.h (working copy) @@ -186,7 +186,7 @@ #define EAI_SERVICE WSATYPE_NOT_FOUND #define EAI_SOCKTYPE WSAESOCKTNOSUPPORT -#define EAI_NODATA 11004L /* WSANO_DATA */ +#define EAI_NODATA 11004 /* WSANO_DATA */ typedef struct addrinfo { int ai_flags; ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public