Skip to content

Commit e1b398c

Browse files
author
Neil Conway
committed
Fix build error in pg_buffercache on Win32 (native and cygwin). From
Mark Kirkwood.
1 parent 8962b61 commit e1b398c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

contrib/pg_buffercache/pg_buffercache_pages.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* pg_buffercache_pages.c
44
* display some contents of the buffer cache
55
*
6-
* $PostgreSQL: pgsql/contrib/pg_buffercache/pg_buffercache_pages.c,v 1.1 2005/03/12 15:36:24 neilc Exp $
6+
* $PostgreSQL: pgsql/contrib/pg_buffercache/pg_buffercache_pages.c,v 1.2 2005/03/31 00:45:26 neilc Exp $
77
*-------------------------------------------------------------------------
88
*/
99
#include "postgres.h"
@@ -17,6 +17,11 @@
1717

1818
#define NUM_BUFFERCACHE_PAGES_ELEM 6
1919

20+
#if defined(WIN32) || defined(__CYGWIN__)
21+
extern DLLIMPORT BufferDesc *BufferDescriptors;
22+
extern DLLIMPORT volatile uint32 InterruptHoldoffCount;
23+
#endif
24+
2025

2126
/*
2227
* Record structure holding the to be exposed cache data.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy