From b16c2664af5be02dfa987f3e8449dcb04d108c00 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 26 Aug 2009 18:53:43 -0400 Subject: [PATCH] [HB] Bug 593231 - < c99 compiler dislikes ValueRecord --- pango/opentype/hb-ot-layout-gpos-private.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pango/opentype/hb-ot-layout-gpos-private.hh b/pango/opentype/hb-ot-layout-gpos-private.hh index 0357522..b152308 100644 --- a/pango/opentype/hb-ot-layout-gpos-private.hh +++ b/pango/opentype/hb-ot-layout-gpos-private.hh @@ -34,7 +34,9 @@ /* Shared Tables: ValueRecord, Anchor Table, and MarkArray */ typedef SHORT Value; -typedef Value ValueRecord[]; + +typedef Value ValueRecord[0]; +ASSERT_SIZE (ValueRecord, 0); struct ValueFormat : USHORT { -- 2.7.4