mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-28 08:01:50 +02:00
Tweak code for older compilers
Attempt to quiesce build farm Author: Tomas Vondra
This commit is contained in:
parent
a4ccc1cef5
commit
b99661c2ff
@ -92,20 +92,20 @@ typedef struct GenerationContext
|
|||||||
* GenerationBloc is the header data for a block --- the usable space
|
* GenerationBloc is the header data for a block --- the usable space
|
||||||
* within the block begins at the next alignment boundary.
|
* within the block begins at the next alignment boundary.
|
||||||
*/
|
*/
|
||||||
typedef struct GenerationBlock
|
struct GenerationBlock
|
||||||
{
|
{
|
||||||
dlist_node node; /* doubly-linked list */
|
dlist_node node; /* doubly-linked list */
|
||||||
int nchunks; /* number of chunks in the block */
|
int nchunks; /* number of chunks in the block */
|
||||||
int nfree; /* number of free chunks */
|
int nfree; /* number of free chunks */
|
||||||
char *freeptr; /* start of free space in this block */
|
char *freeptr; /* start of free space in this block */
|
||||||
char *endptr; /* end of space in this block */
|
char *endptr; /* end of space in this block */
|
||||||
} GenerationBlock;
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* GenerationChunk
|
* GenerationChunk
|
||||||
* The prefix of each piece of memory in an GenerationBlock
|
* The prefix of each piece of memory in an GenerationBlock
|
||||||
*/
|
*/
|
||||||
typedef struct GenerationChunk
|
struct GenerationChunk
|
||||||
{
|
{
|
||||||
/* block owning this chunk */
|
/* block owning this chunk */
|
||||||
void *block;
|
void *block;
|
||||||
@ -120,7 +120,7 @@ typedef struct GenerationChunk
|
|||||||
|
|
||||||
GenerationContext *context; /* owning context */
|
GenerationContext *context; /* owning context */
|
||||||
/* there must not be any padding to reach a MAXALIGN boundary here! */
|
/* there must not be any padding to reach a MAXALIGN boundary here! */
|
||||||
} GenerationChunk;
|
};
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user