Commit 6e3cc202 authored by Tom Lane's avatar Tom Lane

Fix tsearch build problems.

Magnus Hagander
parent 521408a5
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.171 2004/10/18 19:08:57 momjian Exp $ * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.172 2004/10/22 22:33:58 tgl Exp $
* *
* NOTES * NOTES
* some of the information in this file should be moved to other files. * some of the information in this file should be moved to other files.
...@@ -136,7 +136,7 @@ extern struct Port *MyProcPort; ...@@ -136,7 +136,7 @@ extern struct Port *MyProcPort;
extern long MyCancelKey; extern long MyCancelKey;
extern char OutputFileName[]; extern char OutputFileName[];
extern char my_exec_path[]; extern DLLIMPORT char my_exec_path[];
extern char pkglib_path[]; extern char pkglib_path[];
#ifdef EXEC_BACKEND #ifdef EXEC_BACKEND
......
# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.3 2003/11/29 19:52:12 pgsql Exp $ # $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.4 2004/10/22 22:33:58 tgl Exp $
# Use replacement include files for those missing on Win32 # Use replacement include files for those missing on Win32
override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32" override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
...@@ -23,6 +23,10 @@ override CPPFLAGS+= -DBUILDING_DLL ...@@ -23,6 +23,10 @@ override CPPFLAGS+= -DBUILDING_DLL
endif endif
endif endif
ifneq (,$(findstring timezone,$(subdir)))
override CPPFLAGS+= -DBUILDING_DLL
endif
ifneq (,$(findstring ecpg/lib,$(subdir))) ifneq (,$(findstring ecpg/lib,$(subdir)))
override CPPFLAGS+= -DBUILDING_DLL override CPPFLAGS+= -DBUILDING_DLL
endif endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment