From d65b42b85bbcd6f8d79b3acd4b12693e0a583c1b Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Wed, 21 Nov 2007 23:03:44 +0000
Subject: [PATCH] Fix build of libpq for Borland CC.

---
 src/interfaces/libpq/bcc32.mak | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/interfaces/libpq/bcc32.mak b/src/interfaces/libpq/bcc32.mak
index 73fb1faf131..067ce541015 100644
--- a/src/interfaces/libpq/bcc32.mak
+++ b/src/interfaces/libpq/bcc32.mak
@@ -137,11 +137,14 @@ LIB32_OBJS= \
 	"$(INTDIR)\pthread-win32.obj"
 
 
-config: ..\..\include\pg_config.h pg_config_paths.h
+config: ..\..\include\pg_config.h ..\..\include\pg_config_os.h pg_config_paths.h
 
 ..\..\include\pg_config.h: ..\..\include\pg_config.h.win32
 	copy ..\..\include\pg_config.h.win32 ..\..\include\pg_config.h
 
+..\..\include\pg_config_os.h: ..\..\include\port\win32.h
+	copy ..\..\include\port\win32.h ..\..\include\pg_config_os.h
+
 # Have to use \# so # isn't treated as a comment, but MSVC doesn't like this
 pg_config_paths.h: bcc32.mak
 	echo \#define SYSCONFDIR "" > pg_config_paths.h
-- 
GitLab