From 6fc2868e4f97c2918138f0cc43a54d64e6a810fd Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 17 Feb 2014 11:29:34 -0500 Subject: [PATCH] PGDLLIMPORT-ify MyBgworkerEntry. This was done in HEAD in commit 7d7eee8bb702d7796a0d7c5886c1f4685f2e2806, but 9.3 needs it too for contrib/worker_spi. Per buildfarm member narwhal. --- src/include/postmaster/bgworker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/postmaster/bgworker.h b/src/include/postmaster/bgworker.h index e0f468fab9e..57e95fe3186 100644 --- a/src/include/postmaster/bgworker.h +++ b/src/include/postmaster/bgworker.h @@ -82,7 +82,7 @@ typedef struct BackgroundWorker extern void RegisterBackgroundWorker(BackgroundWorker *worker); /* This is valid in a running worker */ -extern BackgroundWorker *MyBgworkerEntry; +extern PGDLLIMPORT BackgroundWorker *MyBgworkerEntry; /* * Connect to the specified database, as the specified user. Only a worker