aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-04-24 04:03:42 +0000
committerBruce Momjian <bruce@momjian.us>2006-04-24 04:03:42 +0000
commit499ec8c7e48b271e313d4a594074e702139f3721 (patch)
tree5639f3ab24e8c8c4e74dd63ffd84d90cdbd5b8f9 /src
parent7f0c9716ba3bc58ba02b57d6596605b570cd22bd (diff)
downloadpostgresql-499ec8c7e48b271e313d4a594074e702139f3721.tar.gz
postgresql-499ec8c7e48b271e313d4a594074e702139f3721.zip
Fixes for BCC 5.5 compile of libpq. Backpatch to 8.1.X.
Mark Morgan Lloyd
Diffstat (limited to 'src')
-rw-r--r--src/include/port.h4
-rw-r--r--src/interfaces/libpq/bcc32.mak2
2 files changed, 2 insertions, 4 deletions
diff --git a/src/include/port.h b/src/include/port.h
index c163a3902e2..3fb9b78a01f 100644
--- a/src/include/port.h
+++ b/src/include/port.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/port.h,v 1.84.2.5 2006/03/05 05:33:19 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/port.h,v 1.84.2.6 2006/04/24 04:03:38 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -255,10 +255,8 @@ extern int win32_open(const char *, int,...);
#define open(a,b,...) win32_open(a,b,##__VA_ARGS__)
#endif
-#ifndef __BORLANDC__
#define popen(a,b) _popen(a,b)
#define pclose(a) _pclose(a)
-#endif
/* Missing rand functions */
extern long lrand48(void);
diff --git a/src/interfaces/libpq/bcc32.mak b/src/interfaces/libpq/bcc32.mak
index f70f157395d..2eee11460f8 100644
--- a/src/interfaces/libpq/bcc32.mak
+++ b/src/interfaces/libpq/bcc32.mak
@@ -141,7 +141,7 @@ config: ..\..\include\pg_config.h pg_config_paths.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
+ echo \#define SYSCONFDIR \"\" > pg_config_paths.h
"$(OUTDIR)" :
@if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"