Need a DLLIMPORT for MaxFSMPages, per buildfarm failure on snake.
This commit is contained in:
parent
99b384b8b6
commit
e9b978c82b
@ -3,7 +3,7 @@
|
|||||||
* pg_freespacemap.c
|
* pg_freespacemap.c
|
||||||
* display some contents of the free space map.
|
* display some contents of the free space map.
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/contrib/pg_freespacemap/pg_freespacemap.c,v 1.1 2006/02/12 03:55:53 momjian Exp $
|
* $PostgreSQL: pgsql/contrib/pg_freespacemap/pg_freespacemap.c,v 1.2 2006/02/14 15:03:59 tgl Exp $
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
#include "postgres.h"
|
#include "postgres.h"
|
||||||
@ -15,6 +15,8 @@
|
|||||||
#define NUM_FREESPACE_PAGES_ELEM 6
|
#define NUM_FREESPACE_PAGES_ELEM 6
|
||||||
|
|
||||||
#if defined(WIN32) || defined(__CYGWIN__)
|
#if defined(WIN32) || defined(__CYGWIN__)
|
||||||
|
/* Need DLLIMPORT for some things that are not so marked in main headers */
|
||||||
|
extern DLLIMPORT int MaxFSMPages;
|
||||||
extern DLLIMPORT volatile uint32 InterruptHoldoffCount;
|
extern DLLIMPORT volatile uint32 InterruptHoldoffCount;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user