Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+3-1
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

+3-1
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)