Re: [PATCH] Borland C Compiler compatibility issues

Lists: pgsql-hackers
From: Pavel Golub <pavel(at)microolap(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: [PATCH] Borland C Compiler compatibility issues
Date: 2009-04-18 08:31:16
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-hackers

Here the patch to /src/include/pg_config_os.h attached improving
Borland C++ Compiler compatibility.

Issues described here:
http://pgolub.wordpress.com/2009/04/13/building-postgresql-client-library-using-borland-c-compiler-bcc-under-winxp/

This patch defines missing constants needed by /port/dirent.c and /port/open.c

--
Nullus est in vitae sensus ipsa vera est sensus.

Attachment Content-Type Size
pg_config_os.patch application/octet-stream 1.1 KB

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Golub <pavel(at)microolap(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Borland C Compiler compatibility issues
Date: 2009-04-19 22:38:33
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-hackers

Pavel Golub <pavel(at)microolap(dot)com> writes:
> Here the patch to /src/include/pg_config_os.h attached improving
> Borland C++ Compiler compatibility.

Applied along with your other two patches. Please note in future that
pg_config_os.h is a derived file --- this patch should have been against
src/include/port/win32.h.

regards, tom lane


From: Pavel Golub <pavel(at)microolap(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Borland C Compiler compatibility issues
Date: 2009-04-20 05:44:07
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Lists: pgsql-hackers

On Mon, Apr 20, 2009 at 1:38 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Pavel Golub <pavel(at)microolap(dot)com> writes:
>> Here the patch to /src/include/pg_config_os.h attached improving
>> Borland C++ Compiler compatibility.
>
> Applied along with your other two patches.  Please note in future that
> pg_config_os.h is a derived file --- this patch should have been against
> src/include/port/win32.h.
>
>                        regards, tom lane
>

Oops. My bad. Thanks.

--
Nullus est in vitae sensus ipsa vera est sensus.