[PATCH] Borland C Compiler compatibility issues

Started by Pavlo Golubalmost 17 years ago3 messageshackers
Jump to latest
#1Pavlo Golub
pavlo.golub@cybertec.at

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.

Attachments:

pg_config_os.patchapplication/octet-stream; name=pg_config_os.patchDownload+19-1
#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Pavlo Golub (#1)
Re: [PATCH] Borland C Compiler compatibility issues

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

#3Pavlo Golub
pavlo.golub@cybertec.at
In reply to: Tom Lane (#2)
Re: [PATCH] Borland C Compiler compatibility issues

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.