From: Tom Lane Date: Fri, 10 Mar 2017 03:55:46 +0000 (-0500) Subject: contrib/amcheck needs RecentGlobalXmin to be PGDLLIMPORT'ified. X-Git-Tag: REL_10_BETA1~697 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=56018bf26eec1a0b4bf20303c98065a8eb1b0c5d;p=postgresql.git contrib/amcheck needs RecentGlobalXmin to be PGDLLIMPORT'ified. Per buildfarm. Maybe some of the other xmin variables in snapmgr.h ought to get this too, but for the moment I'm just interested in un-breaking the buildfarm. --- diff --git a/src/include/utils/snapmgr.h b/src/include/utils/snapmgr.h index ab953669bf2..86c48d9c8ef 100644 --- a/src/include/utils/snapmgr.h +++ b/src/include/utils/snapmgr.h @@ -58,7 +58,7 @@ extern bool FirstSnapshotSet; extern TransactionId TransactionXmin; extern TransactionId RecentXmin; -extern TransactionId RecentGlobalXmin; +extern PGDLLIMPORT TransactionId RecentGlobalXmin; extern TransactionId RecentGlobalDataXmin; extern Snapshot GetTransactionSnapshot(void);