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

Commit a3bc467

Browse files
committed
Don't define BUILDING_DLL for snowball lib. Should fix build problems
on mingw and probably cygwin.
1 parent d01741b commit a3bc467

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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.10 2006/06/22 23:50:35 tgl Exp $
1+
# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.11 2007/08/21 13:32:33 mha Exp $
22

33
# Use replacement include files for those missing on Win32
44
override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
@@ -22,9 +22,11 @@ CFLAGS_SL =
2222

2323
ifneq (,$(findstring backend,$(subdir)))
2424
ifeq (,$(findstring conversion_procs,$(subdir)))
25+
ifeq (,$(findstring snowball,$(subdir)))
2526
override CPPFLAGS+= -DBUILDING_DLL
2627
endif
2728
endif
29+
endif
2830

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

0 commit comments

Comments
 (0)