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

Commit9352d5c

Browse files
committed
Don't define FRONTEND for ecpg libraries
Not needed anymore after7143b3e.Discussion:https://postgr.es/m/20220820194550.725755r6fj2ro3rx@awork3.anarazel.de
1 parent06e3559 commit9352d5c

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

‎src/interfaces/ecpg/compatlib/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ SO_MAJOR_VERSION= 3
1919
SO_MINOR_VERSION=$(MAJORVERSION)
2020

2121
overrideCPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include\
22-
-I$(libpq_srcdir)-DFRONTEND$(CPPFLAGS)
22+
-I$(libpq_srcdir)$(CPPFLAGS)
2323
overrideCFLAGS +=$(PTHREAD_CFLAGS)
2424

2525
SHLIB_LINK_INTERNAL = -L../ecpglib -lecpg -L../pgtypeslib -lpgtypes$(libpq_pgport_shlib)

‎src/interfaces/ecpg/ecpglib/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ SO_MAJOR_VERSION= 6
1919
SO_MINOR_VERSION=$(MAJORVERSION)
2020

2121
overrideCPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include\
22-
-I$(libpq_srcdir) -I$(top_builddir)/src/port-DFRONTEND$(CPPFLAGS)
22+
-I$(libpq_srcdir) -I$(top_builddir)/src/port$(CPPFLAGS)
2323
overrideCFLAGS +=$(PTHREAD_CFLAGS)
2424

2525
OBJS =\

‎src/interfaces/ecpg/pgtypeslib/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ SO_MAJOR_VERSION= 3
1919
SO_MINOR_VERSION=$(MAJORVERSION)
2020

2121
overrideCPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include\
22-
-DFRONTEND$(CPPFLAGS)
22+
$(CPPFLAGS)
2323
overrideCFLAGS +=$(PTHREAD_CFLAGS)
2424

2525
SHLIB_LINK_INTERNAL = -lpgcommon_shlib -lpgport_shlib

‎src/tools/msvc/Mkvcbuild.pm

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -315,14 +315,12 @@ sub mkvcbuild
315315
my$pgtypes =$solution->AddProject(
316316
'libpgtypes','dll',
317317
'interfaces','src/interfaces/ecpg/pgtypeslib');
318-
$pgtypes->AddDefine('FRONTEND');
319318
$pgtypes->AddReference($libpgcommon,$libpgport);
320319
$pgtypes->UseDef('src/interfaces/ecpg/pgtypeslib/pgtypeslib.def');
321320
$pgtypes->AddIncludeDir('src/interfaces/ecpg/include');
322321

323322
my$libecpg =$solution->AddProject('libecpg','dll','interfaces',
324323
'src/interfaces/ecpg/ecpglib');
325-
$libecpg->AddDefine('FRONTEND');
326324
$libecpg->AddIncludeDir('src/interfaces/ecpg/include');
327325
$libecpg->AddIncludeDir('src/interfaces/libpq');
328326
$libecpg->AddIncludeDir('src/port');
@@ -333,7 +331,6 @@ sub mkvcbuild
333331
my$libecpgcompat =$solution->AddProject(
334332
'libecpg_compat','dll',
335333
'interfaces','src/interfaces/ecpg/compatlib');
336-
$libecpgcompat->AddDefine('FRONTEND');
337334
$libecpgcompat->AddIncludeDir('src/interfaces/ecpg/include');
338335
$libecpgcompat->AddIncludeDir('src/interfaces/libpq');
339336
$libecpgcompat->UseDef('src/interfaces/ecpg/compatlib/compatlib.def');

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp