Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita16ffee

Browse files
committed
Fixes for BCC 5.5 compile of libpq. Backpatch to 8.1.X.
Mark Morgan Lloyd
1 parent732a1fd commita16ffee

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

‎src/include/port.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $PostgreSQL: pgsql/src/include/port.h,v 1.90 2006/03/05 15:58:53 momjian Exp $
9+
* $PostgreSQL: pgsql/src/include/port.h,v 1.91 2006/04/24 04:03:24 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -255,10 +255,8 @@ extern intwin32_open(const char *, int,...);
255255
#defineopen(a,b,...)win32_open(a,b,##__VA_ARGS__)
256256
#endif
257257

258-
#ifndef__BORLANDC__
259258
#definepopen(a,b) _popen(a,b)
260259
#definepclose(a) _pclose(a)
261-
#endif
262260

263261
/* Missing rand functions */
264262
externlonglrand48(void);

‎src/interfaces/libpq/bcc32.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ config: ..\..\include\pg_config.h pg_config_paths.h
141141

142142
# Have to use \# so # isn't treated as a comment, but MSVC doesn't like this
143143
pg_config_paths.h: bcc32.mak
144-
echo\#define SYSCONFDIR""> pg_config_paths.h
144+
echo\#define SYSCONFDIR\"\"> pg_config_paths.h
145145

146146
"$(OUTDIR)" :
147147
@if not exist"$(OUTDIR)/$(NULL)" mkdir"$(OUTDIR)"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp