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

Commit 43dc050

Browse files
committed
Fix Cygwin compile for timezone.
1 parent b2b0673 commit 43dc050

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/makefiles/Makefile.cygwin

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/src/makefiles/Makefile.cygwin,v 1.4 2004/01/19 21:20:06 tgl Exp $
1+
# $PostgreSQL: pgsql/src/makefiles/Makefile.cygwin,v 1.5 2004/10/27 19:14:07 momjian Exp $
22
DLLTOOL= dlltool
33
DLLWRAP= dllwrap
44
BE_DLLLIBS= -L$(top_builddir)/src/backend -lpostgres
@@ -23,6 +23,10 @@ override CPPFLAGS+= -DBUILDING_DLL
2323
endif
2424
endif
2525

26+
ifneq (,$(findstring timezone,$(subdir)))
27+
override CPPFLAGS+= -DBUILDING_DLL
28+
endif
29+
2630
ifneq (,$(findstring ecpg/ecpglib,$(subdir)))
2731
override CPPFLAGS+= -DBUILDING_DLL
2832
endif

src/makefiles/Makefile.win32

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.4 2004/10/22 22:33:58 tgl Exp $
1+
# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.5 2004/10/27 19:14:07 momjian Exp $
22

33
# Use replacement include files for those missing on Win32
44
override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
@@ -27,7 +27,7 @@ ifneq (,$(findstring timezone,$(subdir)))
2727
override CPPFLAGS+= -DBUILDING_DLL
2828
endif
2929

30-
ifneq (,$(findstring ecpg/lib,$(subdir)))
30+
ifneq (,$(findstring ecpg/ecpglib,$(subdir)))
3131
override CPPFLAGS+= -DBUILDING_DLL
3232
endif
3333

0 commit comments

Comments
 (0)