From 273270593f42bdbd5422923eb70fbd0fb0f65bf0 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Sat, 26 Nov 2016 10:29:18 -0500 Subject: [PATCH] Mark IsPostmasterEnvironment and IsBackgroundWorker as PGDLLIMPORT. Per request from Craig Ringer. --- src/include/miscadmin.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index 78545daece..78c9954365 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; -- 2.40.0