summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2002-10-22 20:00:48 +0000
committerPeter Eisentraut2002-10-22 20:00:48 +0000
commit7d970df60ec093c1122dc935c0ff72e4de1960d4 (patch)
tree166e23c1026d1fcd66a7f979afe5273086bb7bee
parent2b287020f4c48601bf4a4a9cadc2aed5d771d97d (diff)
Add DLLIMPORT declarations required by contrib with asserts enabled.
-rw-r--r--src/include/storage/bufmgr.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h
index 1977417fc60..5fcc354849d 100644
--- a/src/include/storage/bufmgr.h
+++ b/src/include/storage/bufmgr.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: bufmgr.h,v 1.65 2002/10/21 18:57:34 petere Exp $
+ * $Id: bufmgr.h,v 1.66 2002/10/22 20:00:48 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -23,14 +23,14 @@
typedef void *Block;
/* in globals.c ... this duplicates miscadmin.h */
-extern int NBuffers;
+extern DLLIMPORT int NBuffers;
/* in buf_init.c */
extern DLLIMPORT Block *BufferBlockPointers;
extern long *PrivateRefCount;
/* in localbuf.c */
-extern int NLocBuffer;
+extern DLLIMPORT int NLocBuffer;
extern DLLIMPORT Block *LocalBufferBlockPointers;
extern long *LocalRefCount;