From: Tom Lane Date: Mon, 17 Feb 2014 16:29:34 +0000 (-0500) Subject: PGDLLIMPORT-ify MyBgworkerEntry. X-Git-Tag: REL9_3_3~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6fc2868e4f97c2918138f0cc43a54d64e6a810fd;p=thirdparty%2Fpostgresql.git 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. --- 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