Skip to content

Commit 00b5cce

Browse files
committed
Second try: walreceiver should not be built with -DBUILDING_DLL
1 parent cf7af28 commit 00b5cce

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/makefiles/Makefile.cygwin

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/src/makefiles/Makefile.cygwin,v 1.11 2008/11/14 10:22:47 petere Exp $
1+
# $PostgreSQL: pgsql/src/makefiles/Makefile.cygwin,v 1.12 2010/01/15 21:43:21 tgl Exp $
22
DLLTOOL= dlltool
33
DLLWRAP= dllwrap
44
ifdef PGXS
@@ -23,10 +23,12 @@ CFLAGS_SL =
2323
ifneq (,$(findstring backend,$(subdir)))
2424
ifeq (,$(findstring conversion_procs,$(subdir)))
2525
ifeq (,$(findstring snowball,$(subdir)))
26+
ifeq (,$(findstring walreceiver,$(subdir)))
2627
override CPPFLAGS+= -DBUILDING_DLL
2728
endif
2829
endif
2930
endif
31+
endif
3032

3133
ifneq (,$(findstring timezone,$(subdir)))
3234
override CPPFLAGS+= -DBUILDING_DLL

src/makefiles/Makefile.win32

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.13 2009/01/05 09:27:20 petere Exp $
1+
# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.14 2010/01/15 21:43:21 tgl Exp $
22

33
# Use replacement include files for those missing on Win32
44
override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
@@ -21,10 +21,12 @@ CFLAGS_SL =
2121
ifneq (,$(findstring backend,$(subdir)))
2222
ifeq (,$(findstring conversion_procs,$(subdir)))
2323
ifeq (,$(findstring snowball,$(subdir)))
24+
ifeq (,$(findstring walreceiver,$(subdir)))
2425
override CPPFLAGS+= -DBUILDING_DLL
2526
endif
2627
endif
2728
endif
29+
endif
2830

2931
ifneq (,$(findstring timezone,$(subdir)))
3032
override CPPFLAGS+= -DBUILDING_DLL

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy