mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Fixes for BCC 5.5 compile of libpq. Backpatch to 8.1.X.
Mark Morgan Lloyd
This commit is contained in:
parent
732a1fd1d0
commit
a16ffee73b
@ -6,7 +6,7 @@
|
|||||||
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/include/port.h,v 1.90 2006/03/05 15:58:53 momjian Exp $
|
* $PostgreSQL: pgsql/src/include/port.h,v 1.91 2006/04/24 04:03:24 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -255,10 +255,8 @@ extern int win32_open(const char *, int,...);
|
|||||||
#define open(a,b,...) win32_open(a,b,##__VA_ARGS__)
|
#define open(a,b,...) win32_open(a,b,##__VA_ARGS__)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __BORLANDC__
|
|
||||||
#define popen(a,b) _popen(a,b)
|
#define popen(a,b) _popen(a,b)
|
||||||
#define pclose(a) _pclose(a)
|
#define pclose(a) _pclose(a)
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Missing rand functions */
|
/* Missing rand functions */
|
||||||
extern long lrand48(void);
|
extern long lrand48(void);
|
||||||
|
@ -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
|
# Have to use \# so # isn't treated as a comment, but MSVC doesn't like this
|
||||||
pg_config_paths.h: bcc32.mak
|
pg_config_paths.h: bcc32.mak
|
||||||
echo \#define SYSCONFDIR "" > pg_config_paths.h
|
echo \#define SYSCONFDIR \"\" > pg_config_paths.h
|
||||||
|
|
||||||
"$(OUTDIR)" :
|
"$(OUTDIR)" :
|
||||||
@if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
@if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
|
||||||
|
Loading…
Reference in New Issue
Block a user