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

Commitf221c44

Browse files
committed
Build every ECPG library with -DFRONTEND.
Each of the libraries incorporates src/port files, which often checkFRONTEND. Build systems disagreed on whether to build libpgtypes thisway. Only libecpg incorporates files that rely on it today. Back-patchto 9.0 (all supported versions) to forestall surprises.
1 parente8528a8 commitf221c44

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

‎src/interfaces/ecpg/compatlib/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SO_MAJOR_VERSION= 3
1818
SO_MINOR_VERSION= 3
1919

2020
overrideCPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include\
21-
-I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils$(CPPFLAGS)
21+
-I$(libpq_srcdir) -I$(top_srcdir)/src/include/utils-DFRONTEND$(CPPFLAGS)
2222
overrideCFLAGS +=$(PTHREAD_CFLAGS)
2323

2424
SHLIB_LINK = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes$(libpq)\

‎src/interfaces/ecpg/pgtypeslib/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ SO_MAJOR_VERSION= 3
1818
SO_MINOR_VERSION= 2
1919

2020
overrideCPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include\
21-
-I$(top_srcdir)/src/include/utils -I$(libpq_srcdir)$(CPPFLAGS)
21+
-I$(top_srcdir)/src/include/utils -I$(libpq_srcdir)-DFRONTEND$(CPPFLAGS)
2222
overrideCFLAGS +=$(PTHREAD_CFLAGS)
2323

2424
# Need to recompile any libpgport object files

‎src/tools/msvc/Mkvcbuild.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ sub mkvcbuild
249249

250250
my$libecpgcompat =
251251
$solution->AddProject('libecpg_compat','dll','interfaces','src\interfaces\ecpg\compatlib');
252+
$libecpgcompat->AddDefine('FRONTEND');
252253
$libecpgcompat->AddIncludeDir('src\interfaces\ecpg\include');
253254
$libecpgcompat->AddIncludeDir('src\interfaces\libpq');
254255
$libecpgcompat->UseDef('src\interfaces\ecpg\compatlib\compatlib.def');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp