Re: [PATCHES] c.h is the problem of msvc. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCHES] c.h is the problem of msvc.
Date
Msg-id 2945.1152898525@sss.pgh.pa.us
Whole thread Raw
List pgsql-hackers
"Hiroshi Saito" <z-saito@guitar.ocn.ne.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [PATCHES] build with different options than Bruce
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] [patch 0/9] annual pgcrypto update