From: Bruce Momjian Date: Sat, 29 Jul 2006 17:35:07 +0000 (+0000) Subject: Don't use #include for MSVC <= 1400. X-Git-Tag: REL8_2_BETA1~461 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e5ac3d43435f208ff86aa954772e7ec06a2f5555;p=thirdparty%2Fpostgresql.git Don't use #include for MSVC <= 1400. Hiroshi Saito --- diff --git a/src/include/c.h b/src/include/c.h index 5195db2ac75..3aa1d918194 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/c.h,v 1.207 2006/07/24 16:32:45 petere Exp $ + * $PostgreSQL: pgsql/src/include/c.h,v 1.208 2006/07/29 17:35:07 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -61,7 +61,9 @@ #if defined(_MSC_VER) || defined(__BORLANDC__) #define WIN32_ONLY_COMPILER #define errcode __vc_errcode +#if defined(__BORLANDC__) || (_MSC_VER > 1400) #include +#endif #undef errcode #endif