diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-12-05 09:24:12 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-12-05 09:27:20 -0500 |
commit | a4116c460299aea7760dc13bd45df5bb5382ed6a (patch) | |
tree | 9b085dffff567da98dc844a215a424557ba63f99 /src/include/commands/extension.h | |
parent | 543d8c2f5d4c6b290534f22cc570f51ef75214e5 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/commands/extension.h b/src/include/commands/extension.h index 94354ab04d2..bc3c7de9dd5 100644 --- a/src/include/commands/extension.h +++ b/src/include/commands/extension.h @@ -25,7 +25,7 @@ * installation script. */ extern PGDLLIMPORT bool creating_extension; -extern Oid CurrentExtensionObject; +extern PGDLLIMPORT Oid CurrentExtensionObject; extern ObjectAddress CreateExtension(CreateExtensionStmt *stmt); |