summaryrefslogtreecommitdiff
path: root/src/include/access
diff options
context:
space:
mode:
authorRobert Haas2017-12-05 14:23:57 +0000
committerRobert Haas2017-12-05 14:23:57 +0000
commitc572599c65bfe0387563233faabecd2845073538 (patch)
tree348736d547e050b04ea4294816f2b060429643f6 /src/include/access
parent28f8896af0765a05447f605c55fa9f1ab3b41150 (diff)
Mark assorted variables PGDLLIMPORT.
This makes life easier for extension authors who wish to support Windows. Brian Cloutier, slightly amended by me. Discussion: http://postgr.es/m/CAJCy68fscdNhmzFPS4kyO00CADkvXvEa-28H-OtENk-pa2OTWw@mail.gmail.com
Diffstat (limited to 'src/include/access')
-rw-r--r--src/include/access/twophase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/twophase.h b/src/include/access/twophase.h
index 54dec4eeafb..f5fbbea4b68 100644
--- a/src/include/access/twophase.h
+++ b/src/include/access/twophase.h
@@ -25,7 +25,7 @@
typedef struct GlobalTransactionData *GlobalTransaction;
/* GUC variable */
-extern int max_prepared_xacts;
+extern PGDLLIMPORT int max_prepared_xacts;
extern Size TwoPhaseShmemSize(void);
extern void TwoPhaseShmemInit(void);