diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-11-26 10:29:18 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-11-26 10:29:18 -0500 |
commit | 273270593f42bdbd5422923eb70fbd0fb0f65bf0 (patch) | |
tree | 8fa2c082e99ee6d4dde4fdd3dd6ec151bfcac258 | |
parent | dbdfd114f34443f1e4ad16ce2721f9817d3b3d80 (diff) | |
download | postgresql-273270593f42bdbd5422923eb70fbd0fb0f65bf0.tar.gz postgresql-273270593f42bdbd5422923eb70fbd0fb0f65bf0.zip |
Mark IsPostmasterEnvironment and IsBackgroundWorker as PGDLLIMPORT.
Per request from Craig Ringer.
-rw-r--r-- | src/include/miscadmin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 78545daecec..78c99543656 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -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; |