mirror of
https://github.com/postgres/postgres.git
synced 2025-09-08 00:47:37 +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:
@@ -58,7 +58,7 @@
|
||||
#endif
|
||||
#include "postgres_ext.h"
|
||||
|
||||
#if _MSC_VER >= 1400
|
||||
#if _MSC_VER >= 1400 || defined(WIN64)
|
||||
#define errcode __msvc_errcode
|
||||
#include <crtdefs.h>
|
||||
#undef errcode
|
||||
|
Reference in New Issue
Block a user