Re: [HACKERS] [PATCH] Borland C Compiler compatibility issues

2009-04-20 Thread Pavel Golub
On Mon, Apr 20, 2009 at 1:38 AM, Tom Lane t...@sss.pgh.pa.us wrote:
 Pavel Golub pa...@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.

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] [PATCH] Borland C Compiler compatibility issues

2009-04-19 Thread Tom Lane
Pavel Golub pa...@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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


[HACKERS] [PATCH] Borland C Compiler compatibility issues

2009-04-18 Thread Pavel Golub
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.


pg_config_os.patch
Description: Binary data

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


[HACKERS] [PATCH] Borland C Compiler compatibility issues

2009-04-18 Thread Pavel Golub
Here the patch to /src/interfaces/libpq/bcc32.mak 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 changes order of include folders placing
..\..\include\port\win32_msvc on the first place. Thus
src\include\port\win32_msvc\dirent.h is used instead of incompatible
$(BCB)\include\dirent.h

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


bcc32.mak.patch
Description: Binary data

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers