From c91facd83b5dc3b9aed75617c7c35585ff18889f 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 --- src/hb-ot-layout-gpos-private.hh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/hb-ot-layout-gpos-private.hh b/src/hb-ot-layout-gpos-private.hh index 0357522e5..b1523083e 100644 --- a/src/hb-ot-layout-gpos-private.hh +++ b/src/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 {