diff --git a/src/makefiles/Makefile.cygwin b/src/makefiles/Makefile.cygwin index 65e5357d292758661bfd3b5f593e056702238321..5d4f33b90ca37a114e8393be850164a01dcf5f6e 100644 --- a/src/makefiles/Makefile.cygwin +++ b/src/makefiles/Makefile.cygwin @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/src/makefiles/Makefile.cygwin,v 1.12 2010/01/15 21:43:21 tgl Exp $ +# $PostgreSQL: pgsql/src/makefiles/Makefile.cygwin,v 1.13 2010/01/20 09:30:07 heikki Exp $ DLLTOOL= dlltool DLLWRAP= dllwrap ifdef PGXS @@ -23,7 +23,7 @@ CFLAGS_SL = ifneq (,$(findstring backend,$(subdir))) ifeq (,$(findstring conversion_procs,$(subdir))) ifeq (,$(findstring snowball,$(subdir))) -ifeq (,$(findstring walreceiver,$(subdir))) +ifeq (,$(findstring libpqwalreceiver,$(subdir))) override CPPFLAGS+= -DBUILDING_DLL endif endif diff --git a/src/makefiles/Makefile.win32 b/src/makefiles/Makefile.win32 index 0da0709601a58c0ab66b562c6b13d21e654e5a03..07438d94aa72c6d5b0c3100304b8f43a15586227 100644 --- a/src/makefiles/Makefile.win32 +++ b/src/makefiles/Makefile.win32 @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.14 2010/01/15 21:43:21 tgl Exp $ +# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.15 2010/01/20 09:30:07 heikki Exp $ # Use replacement include files for those missing on Win32 override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32" @@ -21,7 +21,7 @@ CFLAGS_SL = ifneq (,$(findstring backend,$(subdir))) ifeq (,$(findstring conversion_procs,$(subdir))) ifeq (,$(findstring snowball,$(subdir))) -ifeq (,$(findstring walreceiver,$(subdir))) +ifeq (,$(findstring libpqwalreceiver,$(subdir))) override CPPFLAGS+= -DBUILDING_DLL endif endif