diff options
author | Robert Haas <rhaas@postgresql.org> | 2017-12-05 09:23:57 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2017-12-05 09:23:57 -0500 |
commit | c572599c65bfe0387563233faabecd2845073538 (patch) | |
tree | 348736d547e050b04ea4294816f2b060429643f6 /src/include/storage/proc.h | |
parent | 28f8896af0765a05447f605c55fa9f1ab3b41150 (diff) | |
download | postgresql-c572599c65bfe0387563233faabecd2845073538.tar.gz postgresql-c572599c65bfe0387563233faabecd2845073538.zip |
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/storage/proc.h')
-rw-r--r-- | src/include/storage/proc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index 205f4845108..1d370500af8 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -269,7 +269,7 @@ typedef struct PROC_HDR int startupBufferPinWaitBufId; } PROC_HDR; -extern PROC_HDR *ProcGlobal; +extern PGDLLIMPORT PROC_HDR *ProcGlobal; extern PGPROC *PreparedXactProcs; @@ -287,7 +287,7 @@ extern PGPROC *PreparedXactProcs; #define NUM_AUXILIARY_PROCS 4 /* configurable options */ -extern int DeadlockTimeout; +extern PGDLLIMPORT int DeadlockTimeout; extern int StatementTimeout; extern int LockTimeout; extern int IdleInTransactionSessionTimeout; |