Re: [PATCHES] c.h is the problem of msvc.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org, "Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp>
Subject: Re: [PATCHES] c.h is the problem of msvc.
Date: 2006-07-14 17:35:25
Message-ID: 2945.1152898525@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

"Hiroshi Saito" <z-saito(at)guitar(dot)ocn(dot)ne(dot)jp> writes:
> --- src/include/c.h.orig Sat Jul 15 01:38:59 2006
> +++ src/include/c.h Sat Jul 15 01:40:04 2006
> @@ -60,7 +60,9 @@
> #if defined(_MSC_VER) || defined(__BORLANDC__)
> #define WIN32_ONLY_COMPILER
> #define errcode __vc_errcode
> +#if (_MSC_VER > 1400)
> #include <crtdefs.h>
> +#endif
> #undef errcode
> #endif
>

This patch certainly looks like it will break the __BORLANDC__ build ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-07-14 17:44:02 Re: pgstattuple extension for indexes
Previous Message Tom Lane 2006-07-14 16:59:58 Re: build with different options than Bruce

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-07-14 17:44:02 Re: pgstattuple extension for indexes
Previous Message Joshua D. Drake 2006-07-14 17:10:41 Maintenance and External Projects (try 2)