summaryrefslogtreecommitdiff
path: root/src/include/miscadmin.h
diff options
context:
space:
mode:
authorTom Lane2014-02-17 01:12:43 +0000
committerTom Lane2014-02-17 01:12:43 +0000
commitfa1f0d785921b34a98562a806aed2c3d34aaf7be (patch)
tree0be9f0d214eba0630eef28cb857ee4363f0b0c80 /src/include/miscadmin.h
parenta1c802712c369af4085c365cb79c3063b8407ef4 (diff)
PGDLLIMPORT-ify MainLWLockArray, ProcDiePending, proc_exit_inprogress.
These are needed in HEAD to make assorted contrib modules build on Windows. Now that all the MSVC and Mingw buildfarm members seem to be on the same page about the need for them, we can have some confidence that future problems of this ilk will be detected promptly; there seems nothing more to be learned by delaying this fix further. I chose to mark QueryCancelPending as well, since it's easy to imagine code that wants to touch ProcDiePending also caring about QueryCancelPending.
Diffstat (limited to 'src/include/miscadmin.h')
-rw-r--r--src/include/miscadmin.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h
index 2146d7e6abd..947906a2805 100644
--- a/src/include/miscadmin.h
+++ b/src/include/miscadmin.h
@@ -74,8 +74,8 @@
/* in globals.c */
/* these are marked volatile because they are set by signal handlers: */
extern PGDLLIMPORT volatile bool InterruptPending;
-extern volatile bool QueryCancelPending;
-extern volatile bool ProcDiePending;
+extern PGDLLIMPORT volatile bool QueryCancelPending;
+extern PGDLLIMPORT volatile bool ProcDiePending;
extern volatile bool ClientConnectionLost;