mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Fix GEVHDRSZ for Win32.
Magnus Hagander
This commit is contained in:
parent
d8f75d4131
commit
199f8f2858
@ -9,7 +9,7 @@
|
|||||||
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/include/access/gist.h,v 1.52 2006/03/05 15:58:53 momjian Exp $
|
* $PostgreSQL: pgsql/src/include/access/gist.h,v 1.53 2006/06/25 01:02:12 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -142,7 +142,7 @@ typedef struct
|
|||||||
GISTENTRY vector[1];
|
GISTENTRY vector[1];
|
||||||
} GistEntryVector;
|
} GistEntryVector;
|
||||||
|
|
||||||
#define GEVHDRSZ (offsetof(GistEntryVector, vector[0]))
|
#define GEVHDRSZ (offsetof(GistEntryVector, vector))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* macro to initialize a GISTENTRY
|
* macro to initialize a GISTENTRY
|
||||||
|
Loading…
x
Reference in New Issue
Block a user