mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Enable building with the Mingw64 compiler.
This can be used to build 64 bit Windows binaries, not only on 64 bit Windows but on supported cross-compiling hosts including 32 bit Windows, Cygwin, Darwin and Linux.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user