Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1d77afe

Browse files
committed
Don't define FRONTEND for libpq
Not needed anymore after 7143b3e. Discussion: https://postgr.es/m/20220820194550.725755r6fj2ro3rx@awork3.anarazel.de
1 parent 9352d5c commit 1d77afe

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/interfaces/libpq/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ NAME= pq
2222
SO_MAJOR_VERSION= 5
2323
SO_MINOR_VERSION= $(MAJORVERSION)
2424

25-
override CPPFLAGS := -DFRONTEND -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port -I$(top_srcdir)/src/port
25+
override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port -I$(top_srcdir)/src/port
2626
ifneq ($(PORTNAME), win32)
2727
override CFLAGS += $(PTHREAD_CFLAGS)
2828
endif

src/tools/msvc/Mkvcbuild.pm

-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,6 @@ sub mkvcbuild
263263

264264
$libpq = $solution->AddProject('libpq', 'dll', 'interfaces',
265265
'src/interfaces/libpq');
266-
$libpq->AddDefine('FRONTEND');
267266
$libpq->AddIncludeDir('src/port');
268267
$libpq->AddLibrary('secur32.lib');
269268
$libpq->AddLibrary('ws2_32.lib');

0 commit comments

Comments
 (0)