From: Peter Eisentraut Date: Tue, 22 Oct 2002 20:00:48 +0000 (+0000) Subject: Add DLLIMPORT declarations required by contrib with asserts enabled. X-Git-Tag: REL7_3~193 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d970df60ec093c1122dc935c0ff72e4de1960d4;p=postgresql Add DLLIMPORT declarations required by contrib with asserts enabled. --- diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h index 1977417fc6..5fcc354849 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;