Add DLLIMPORT declarations required by contrib with asserts enabled.

This commit is contained in:
Peter Eisentraut 2002-10-22 20:00:48 +00:00
parent 2b287020f4
commit 7d970df60e
1 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California * 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; typedef void *Block;
/* in globals.c ... this duplicates miscadmin.h */ /* in globals.c ... this duplicates miscadmin.h */
extern int NBuffers; extern DLLIMPORT int NBuffers;
/* in buf_init.c */ /* in buf_init.c */
extern DLLIMPORT Block *BufferBlockPointers; extern DLLIMPORT Block *BufferBlockPointers;
extern long *PrivateRefCount; extern long *PrivateRefCount;
/* in localbuf.c */ /* in localbuf.c */
extern int NLocBuffer; extern DLLIMPORT int NLocBuffer;
extern DLLIMPORT Block *LocalBufferBlockPointers; extern DLLIMPORT Block *LocalBufferBlockPointers;
extern long *LocalRefCount; extern long *LocalRefCount;