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

Commit453c670

Browse files
committed
Fix bcc to compile libpq by creating include file for path.c.
1 parent4fa8b44 commit453c670

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

‎src/bin/psql/bcc32.mak

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,15 @@ CLEAN :
8383
-@erase"$(OUTDIR)\psql.exe"
8484

8585
pg_config_paths.h: win32.mak
86-
echo#define SYSCONFDIR "" >pg_config_paths.h
86+
echo"#define PGBINDIR"">$@
87+
echo"#define PGSHAREDIR"" >>$@
88+
echo"#define SYSCONFDIR"" >>$@
89+
echo"#define INCLUDEDIR"" >>$@
90+
echo"#define PKGINCLUDEDIR"" >>$@
91+
echo"#define INCLUDEDIRSERVER"" >>$@
92+
echo"#define LIBDIR"" >>$@
93+
echo"#define PKGLIBDIR"" >>$@
94+
echo"#define LOCALEDIR"" >>$@
8795

8896
"$(OUTDIR)" :
8997
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

‎src/bin/psql/win32.mak

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,15 @@ CLEAN :
4343
-@erase"$(OUTDIR)\psql.exe"
4444

4545
pg_config_paths.h: win32.mak
46-
echo#define SYSCONFDIR "" >pg_config_paths.h
46+
echo"#define PGBINDIR"">$@
47+
echo"#define PGSHAREDIR"" >>$@
48+
echo"#define SYSCONFDIR"" >>$@
49+
echo"#define INCLUDEDIR"" >>$@
50+
echo"#define PKGINCLUDEDIR"" >>$@
51+
echo"#define INCLUDEDIRSERVER"" >>$@
52+
echo"#define LIBDIR"" >>$@
53+
echo"#define PKGLIBDIR"" >>$@
54+
echo"#define LOCALEDIR"" >>$@
4755

4856
"$(OUTDIR)" :
4957
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp