diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2002-09-05 18:28:46 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2002-09-05 18:28:46 +0000 |
commit | 337da0678ab3b0fe7e339cd35c6c50ad5441a534 (patch) | |
tree | 62b6d649585ee864a16c1922736e4c8d66ebc54b /src/include/miscadmin.h | |
parent | a11ea5e2a3bc47321eaff824b588c07a5974a729 (diff) | |
download | postgresql-337da0678ab3b0fe7e339cd35c6c50ad5441a534.tar.gz postgresql-337da0678ab3b0fe7e339cd35c6c50ad5441a534.zip |
Assorted fixes for Cygwin:
Eliminate the mysterious games that the Cygwin build plays with the linker
flag variables. DLLLIBS is gone, use SHLIB_LINK like everyone else.
Detect cygipc in configure, after the linker flags are set up, otherwise
configure might not work at all.
Make sure everything is covered by make clean.
Fix the build of the new conversion procedure modules.
Add new DLLIMPORT markers where required.
Finally, the compiler complains if we use an explicit
-I/usr/local/include, so don't do that. Curiously, -L/usr/local/lib is
still necessary.
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r-- | src/include/miscadmin.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index dbce60d81de..0402a690c5f 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -12,7 +12,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: miscadmin.h,v 1.109 2002/09/04 20:31:36 momjian Exp $ + * $Id: miscadmin.h,v 1.110 2002/09/05 18:28:46 petere Exp $ * * NOTES * some of the information in this file should be moved to @@ -62,7 +62,7 @@ /* in globals.c */ /* these are marked volatile because they are set by signal handlers: */ -extern volatile bool InterruptPending; +extern DLLIMPORT volatile bool InterruptPending; extern volatile bool QueryCancelPending; extern volatile bool ProcDiePending; @@ -166,7 +166,7 @@ extern char DateFormat[]; extern bool enableFsync; extern bool allowSystemTableMods; -extern int SortMem; +extern DLLIMPORT int SortMem; extern int VacuumMem; /* |