]> granicus.if.org Git - postgresql/commitdiff
Add DLLIMPORT declarations required by contrib with asserts enabled.
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 22 Oct 2002 20:00:48 +0000 (20:00 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 22 Oct 2002 20:00:48 +0000 (20:00 +0000)
src/include/storage/bufmgr.h

index 1977417fc60bca1676667c65122a27a16393330d..5fcc354849df33ba6023e663f027b3c950648ff7 100644 (file)
@@ -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 $
  *
  *-------------------------------------------------------------------------
  */
 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;