]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix tsearch build problems.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Oct 2004 22:33:58 +0000 (22:33 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Oct 2004 22:33:58 +0000 (22:33 +0000)
Magnus Hagander

src/include/miscadmin.h
src/makefiles/Makefile.win32

index 1bf019b557e37f58ee7a390780d977b21976b695..ec3ea9334d24b24303017441e086878342203f2a 100644 (file)
@@ -13,7 +13,7 @@
  * Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
  * 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
  *       some of the information in this file should be moved to other files.
@@ -136,7 +136,7 @@ extern struct Port *MyProcPort;
 extern long MyCancelKey;
 
 extern char OutputFileName[];
-extern char my_exec_path[];
+extern DLLIMPORT char my_exec_path[];
 extern char pkglib_path[];
 
 #ifdef EXEC_BACKEND
index f4652489b601d912d1760e49ab211075503ee70c..5cf543d309ed3e95e9aebd10b07cdf876a411193 100644 (file)
@@ -1,4 +1,4 @@
-# $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
 override CPPFLAGS+="-I$(top_srcdir)/src/include/port/win32"
@@ -23,6 +23,10 @@ override CPPFLAGS+= -DBUILDING_DLL
 endif
 endif
 
+ifneq (,$(findstring timezone,$(subdir)))
+override CPPFLAGS+= -DBUILDING_DLL
+endif
+
 ifneq (,$(findstring ecpg/lib,$(subdir)))
 override CPPFLAGS+= -DBUILDING_DLL
 endif