]> granicus.if.org Git - postgresql/commitdiff
Mark IsPostmasterEnvironment and IsBackgroundWorker as PGDLLIMPORT.
authorRobert Haas <rhaas@postgresql.org>
Sat, 26 Nov 2016 15:29:18 +0000 (10:29 -0500)
committerRobert Haas <rhaas@postgresql.org>
Sat, 26 Nov 2016 15:29:18 +0000 (10:29 -0500)
Per request from Craig Ringer.

src/include/miscadmin.h

index 78545daecec2ba030eca4c35636e5ceb757166d4..78c99543656d73c83fa7a939f8528006bb561125 100644 (file)
@@ -144,9 +144,9 @@ do { \
  * from utils/init/globals.c
  */
 extern PGDLLIMPORT pid_t PostmasterPid;
-extern bool IsPostmasterEnvironment;
+extern PGDLLIMPORT bool IsPostmasterEnvironment;
 extern PGDLLIMPORT bool IsUnderPostmaster;
-extern bool IsBackgroundWorker;
+extern PGDLLIMPORT bool IsBackgroundWorker;
 extern PGDLLIMPORT bool IsBinaryUpgrade;
 
 extern bool ExitOnAnyError;