Thread: [PATCH] Borland C Compiler compatibility issues

[PATCH] Borland C Compiler compatibility issues

From
Pavel Golub
Date:
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

Re: [PATCH] Borland C Compiler compatibility issues

From
Tom Lane
Date:
Pavel Golub <pavel@microolap.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


Re: [PATCH] Borland C Compiler compatibility issues

From
Pavel Golub
Date:
On Mon, Apr 20, 2009 at 1:38 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Pavel Golub <pavel@microolap.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.