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/include/c.h | |
| 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/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 bec1a8cc851..1f2813c90f6 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 | 
