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

Commit 6e3cc20

Browse files
committed
Fix tsearch build problems.
Magnus Hagander
1 parent 521408a commit 6e3cc20

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/include/miscadmin.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
1414
* Portions Copyright (c) 1994, Regents of the University of California
1515
*
16-
* $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.171 2004/10/18 19:08:57 momjian Exp $
16+
* $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.172 2004/10/22 22:33:58 tgl Exp $
1717
*
1818
* NOTES
1919
* some of the information in this file should be moved to other files.
@@ -136,7 +136,7 @@ extern struct Port *MyProcPort;
136136
extern long MyCancelKey;
137137

138138
extern char OutputFileName[];
139-
extern char my_exec_path[];
139+
extern DLLIMPORT char my_exec_path[];
140140
extern char pkglib_path[];
141141

142142
#ifdef EXEC_BACKEND

src/makefiles/Makefile.win32

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.3 2003/11/29 19:52:12 pgsql Exp $
1+
# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.4 2004/10/22 22:33:58 tgl Exp $
22

33
# Use replacement include files for those missing on Win32
44
override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
@@ -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/lib,$(subdir)))
2731
override CPPFLAGS+= -DBUILDING_DLL
2832
endif

0 commit comments

Comments
 (0)