summaryrefslogtreecommitdiff
path: root/src/include/commands/extension.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-12-05 09:24:12 -0500
committerRobert Haas <rhaas@postgresql.org>2017-12-05 09:35:15 -0500
commitf4bb60ed69d8d88beef8fa22ad2fcbb99769ef4d (patch)
treee03dc9948b86019b3473430d20d5d5074fc8b09f /src/include/commands/extension.h
parent225501cf754f1ce0fd0c793c0c991f40e96344e1 (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/commands/extension.h')
-rw-r--r--src/include/commands/extension.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/commands/extension.h b/src/include/commands/extension.h
index 2cf784b4555..967e24b7361 100644
--- a/src/include/commands/extension.h
+++ b/src/include/commands/extension.h
@@ -23,8 +23,8 @@
* on the current pg_extension object for each SQL object created by its
* installation script.
*/
-extern bool creating_extension;
-extern Oid CurrentExtensionObject;
+extern PGDLLIMPORT bool creating_extension;
+extern PGDLLIMPORT Oid CurrentExtensionObject;
extern Oid CreateExtension(CreateExtensionStmt *stmt);