[PATCH] Borland C Compiler compatibility issues

Started by Pavel Golubover 16 years ago1 messages
#1Pavel Golub
pavel@microolap.com
1 attachment(s)

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.

Attachments:

bcc32.mak.patchapplication/octet-stream; name=bcc32.mak.patchDownload
--- E:\pgsql\src\interfaces\libpq\bcc32.mak	Sat Apr 18 09:21:52 2009 UTC
+++ E:\pgsql\src\interfaces\libpq\bcc32.mak	Sat Apr 18 09:23:30 2009 UTC
@@ -62,7 +62,7 @@
 USERDEFINES=FRONTEND;NDEBUG;WIN32;_WINDOWS
 
 CPP=bcc32.exe
-CPP_PROJ = -I$(BCB)\include;..\..\include;..\..\include\port\win32;..\..\include\port\win32_msvc;..\..\port -n"$(INTDIR)" -WD -c -D$(USERDEFINES) -tWM \
+CPP_PROJ = -I..\..\include\port\win32_msvc;$(BCB)\include;..\..\include;..\..\include\port\win32;..\..\port -n"$(INTDIR)" -WD -c -D$(USERDEFINES) -tWM \
 		-a8 -X -w-use -w-par -w-pia -w-csu -w-aus -w-ccc
 
 !IFDEF DEBUG