mirror of
https://github.com/postgres/postgres.git
synced 2025-11-25 12:03:53 +03:00
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user