aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2006-06-25 01:02:12 +0000
committerBruce Momjian <bruce@momjian.us>2006-06-25 01:02:12 +0000
commit199f8f28585320bd38b08030c5d7ed5ca3d4cb69 (patch)
tree4de3350be5c307bb5f47f90fd09d4f1bbdec70a2 /src
parentd8f75d4131589f45e77189e93190a5d5f04814a7 (diff)
downloadpostgresql-199f8f28585320bd38b08030c5d7ed5ca3d4cb69.tar.gz
postgresql-199f8f28585320bd38b08030c5d7ed5ca3d4cb69.zip
Fix GEVHDRSZ for Win32.
Magnus Hagander
Diffstat (limited to 'src')
-rw-r--r--src/include/access/gist.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/access/gist.h b/src/include/access/gist.h
index 0a8ae84990c..cfa07f2be52 100644
--- a/src/include/access/gist.h
+++ b/src/include/access/gist.h
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* 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];
} GistEntryVector;
-#define GEVHDRSZ (offsetof(GistEntryVector, vector[0]))
+#define GEVHDRSZ (offsetof(GistEntryVector, vector))
/*
* macro to initialize a GISTENTRY