From 2ea865de5660f75f44f6b1ba78090e41e070cb4c Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Sat, 9 Apr 2011 17:59:27 -0400 Subject: Backport changes to allow building with MinGW 64 bit compiler. These changes have been in HEAD for some time with no ill effect. They are only being backported to 9.0, as the required WINNT version was not high enough before that. --- src/port/getaddrinfo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/port/getaddrinfo.c') diff --git a/src/port/getaddrinfo.c b/src/port/getaddrinfo.c index 4133aed54d7..cf658a4eb50 100644 --- a/src/port/getaddrinfo.c +++ b/src/port/getaddrinfo.c @@ -329,8 +329,7 @@ gai_strerror(int errcode) return "Not enough memory"; #endif #ifdef EAI_NODATA -#ifndef WIN32_ONLY_COMPILER /* MSVC complains because another case has the - * same value */ +#if !defined(WIN64) && !defined(WIN32_ONLY_COMPILER) /* MSVC/WIN64 duplicate */ case EAI_NODATA: return "No host data of that type was found"; #endif -- cgit v1.2.3