mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Fix build error in pg_buffercache on Win32 (native and cygwin). From
Mark Kirkwood.
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
* pg_buffercache_pages.c
|
* pg_buffercache_pages.c
|
||||||
* display some contents of the buffer cache
|
* display some contents of the buffer cache
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/contrib/pg_buffercache/pg_buffercache_pages.c,v 1.1 2005/03/12 15:36:24 neilc Exp $
|
* $PostgreSQL: pgsql/contrib/pg_buffercache/pg_buffercache_pages.c,v 1.2 2005/03/31 00:45:26 neilc Exp $
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
@ -17,6 +17,11 @@
|
|||||||
|
|
||||||
#define NUM_BUFFERCACHE_PAGES_ELEM 6
|
#define NUM_BUFFERCACHE_PAGES_ELEM 6
|
||||||
|
|
||||||
|
#if defined(WIN32) || defined(__CYGWIN__)
|
||||||
|
extern DLLIMPORT BufferDesc *BufferDescriptors;
|
||||||
|
extern DLLIMPORT volatile uint32 InterruptHoldoffCount;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Record structure holding the to be exposed cache data.
|
* Record structure holding the to be exposed cache data.
|
||||||
|
Reference in New Issue
Block a user