]> granicus.if.org Git - postgresql/commitdiff
Second try: walreceiver should not be built with -DBUILDING_DLL
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 Jan 2010 21:43:21 +0000 (21:43 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 15 Jan 2010 21:43:21 +0000 (21:43 +0000)
src/makefiles/Makefile.cygwin
src/makefiles/Makefile.win32

index 3458b393e709c27bf6b1e482a0c27dab13206c26..65e5357d292758661bfd3b5f593e056702238321 100644 (file)
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/src/makefiles/Makefile.cygwin,v 1.11 2008/11/14 10:22:47 petere Exp $
+# $PostgreSQL: pgsql/src/makefiles/Makefile.cygwin,v 1.12 2010/01/15 21:43:21 tgl Exp $
 DLLTOOL= dlltool
 DLLWRAP= dllwrap
 ifdef PGXS
@@ -23,10 +23,12 @@ CFLAGS_SL =
 ifneq (,$(findstring backend,$(subdir)))
 ifeq (,$(findstring conversion_procs,$(subdir)))
 ifeq (,$(findstring snowball,$(subdir)))
+ifeq (,$(findstring walreceiver,$(subdir)))
 override CPPFLAGS+= -DBUILDING_DLL
 endif
 endif
 endif
+endif
 
 ifneq (,$(findstring timezone,$(subdir)))
 override CPPFLAGS+= -DBUILDING_DLL
index f3dd215b19e6cb837166fe1df19f720b5db6c3c4..0da0709601a58c0ab66b562c6b13d21e654e5a03 100644 (file)
@@ -1,4 +1,4 @@
-# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.13 2009/01/05 09:27:20 petere Exp $
+# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.14 2010/01/15 21:43:21 tgl Exp $
 
 # Use replacement include files for those missing on Win32
 override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
@@ -21,10 +21,12 @@ CFLAGS_SL =
 ifneq (,$(findstring backend,$(subdir)))
 ifeq (,$(findstring conversion_procs,$(subdir)))
 ifeq (,$(findstring snowball,$(subdir)))
+ifeq (,$(findstring walreceiver,$(subdir)))
 override CPPFLAGS+= -DBUILDING_DLL
 endif
 endif
 endif
+endif
 
 ifneq (,$(findstring timezone,$(subdir)))
 override CPPFLAGS+= -DBUILDING_DLL