diff options
| author | Andrew Dunstan <andrew@dunslane.net> | 2011-04-09 17:59:27 -0400 | 
|---|---|---|
| committer | Andrew Dunstan <andrew@dunslane.net> | 2011-04-09 17:59:27 -0400 | 
| commit | 2ea865de5660f75f44f6b1ba78090e41e070cb4c (patch) | |
| tree | 6eb67948302b7235400b04fb2a85790005498c8b /src/port/getaddrinfo.c | |
| parent | 00bf707113a297aa85c38beda8fb1247fe4bd304 (diff) | |
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.
Diffstat (limited to 'src/port/getaddrinfo.c')
| -rw-r--r-- | src/port/getaddrinfo.c | 3 | 
1 files changed, 1 insertions, 2 deletions
| 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 | 
