diff options
author | Andrew Dunstan | 2011-01-31 00:56:46 +0000 |
---|---|---|
committer | Andrew Dunstan | 2011-01-31 00:56:46 +0000 |
commit | 91812df4ed0facfb90bec3f9430dd5a97d56f695 (patch) | |
tree | 09e3d6d3f5ee3cfe1e4884b373b1271574153ad6 /src/include/c.h | |
parent | 9688c4e6f1516d2fc0db5d200112c4d91538878d (diff) |
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.
Diffstat (limited to 'src/include/c.h')
-rw-r--r-- | src/include/c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h index 634b21fa949..af1be9499ef 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -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 |