13
13
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
14
14
* Portions Copyright (c) 1994, Regents of the University of California
15
15
*
16
- * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.194 2007/04/16 18:29:56 alvherre Exp $
16
+ * $PostgreSQL: pgsql/src/include/miscadmin.h,v 1.195 2007/07/25 12:22:53 mha Exp $
17
17
*
18
18
* NOTES
19
19
* some of the information in this file should be moved to other files.
64
64
65
65
/* in globals.c */
66
66
/* these are marked volatile because they are set by signal handlers: */
67
- extern DLLIMPORT volatile bool InterruptPending ;
67
+ extern PGDLLIMPORT volatile bool InterruptPending ;
68
68
extern volatile bool QueryCancelPending ;
69
69
extern volatile bool ProcDiePending ;
70
70
71
71
/* these are marked volatile because they are examined by signal handlers: */
72
72
extern volatile bool ImmediateInterruptOK ;
73
- extern DLLIMPORT volatile uint32 InterruptHoldoffCount ;
74
- extern DLLIMPORT volatile uint32 CritSectionCount ;
73
+ extern PGDLLIMPORT volatile uint32 InterruptHoldoffCount ;
74
+ extern PGDLLIMPORT volatile uint32 CritSectionCount ;
75
75
76
76
/* in tcop/postgres.c */
77
77
extern void ProcessInterrupts (void );
@@ -125,18 +125,18 @@ extern bool IsUnderPostmaster;
125
125
126
126
extern bool ExitOnAnyError ;
127
127
128
- extern DLLIMPORT char * DataDir ;
128
+ extern PGDLLIMPORT char * DataDir ;
129
129
130
- extern DLLIMPORT int NBuffers ;
130
+ extern PGDLLIMPORT int NBuffers ;
131
131
extern int MaxBackends ;
132
132
extern int MaxConnections ;
133
133
134
- extern DLLIMPORT int MyProcPid ;
135
- extern DLLIMPORT struct Port * MyProcPort ;
134
+ extern PGDLLIMPORT int MyProcPid ;
135
+ extern PGDLLIMPORT struct Port * MyProcPort ;
136
136
extern long MyCancelKey ;
137
137
138
138
extern char OutputFileName [];
139
- extern DLLIMPORT char my_exec_path [];
139
+ extern PGDLLIMPORT char my_exec_path [];
140
140
extern char pkglib_path [];
141
141
142
142
#ifdef EXEC_BACKEND
@@ -148,9 +148,9 @@ extern char postgres_exec_path[];
148
148
*
149
149
* extern BackendId MyBackendId;
150
150
*/
151
- extern DLLIMPORT Oid MyDatabaseId ;
151
+ extern PGDLLIMPORT Oid MyDatabaseId ;
152
152
153
- extern DLLIMPORT Oid MyDatabaseTableSpace ;
153
+ extern PGDLLIMPORT Oid MyDatabaseTableSpace ;
154
154
155
155
/*
156
156
* Date/Time Configuration
@@ -202,8 +202,8 @@ extern int CTimeZone;
202
202
203
203
extern bool enableFsync ;
204
204
extern bool allowSystemTableMods ;
205
- extern DLLIMPORT int work_mem ;
206
- extern DLLIMPORT int maintenance_work_mem ;
205
+ extern PGDLLIMPORT int work_mem ;
206
+ extern PGDLLIMPORT int maintenance_work_mem ;
207
207
208
208
extern int VacuumCostPageHit ;
209
209
extern int VacuumCostPageMiss ;
0 commit comments