git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d8f75d4)
Fix GEVHDRSZ for Win32.
2006年6月25日 01:02:12 +0000 (01:02 +0000)
2006年6月25日 01:02:12 +0000 (01:02 +0000)
Magnus Hagander


diff --git a/src/include/access/gist.h b/src/include/access/gist.h
index 0a8ae84990cd0fbecdf96a0b672030956c2c9d44..cfa07f2be52a8455c6be1e37b40f4fb636f30bec 100644 (file)
--- 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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /