From 2ea865de5660f75f44f6b1ba78090e41e070cb4c Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Sat, 9 Apr 2011 17:59:27 -0400 Subject: 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. --- src/include/c.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include/c.h') 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 #undef errcode -- cgit v1.2.3