Index: third_party/harfbuzz/src/harfbuzz-stream.h |
diff --git a/third_party/harfbuzz/src/harfbuzz-stream.h b/third_party/harfbuzz/src/harfbuzz-stream.h |
index 999193696d557a2126b9cadb3d9f5df51166499f..a155cc277c9bc040e02cc60440ad901fde73d55b 100644 |
--- a/third_party/harfbuzz/src/harfbuzz-stream.h |
+++ b/third_party/harfbuzz/src/harfbuzz-stream.h |
@@ -30,15 +30,21 @@ |
HB_BEGIN_HEADER |
+#ifdef HB_USE_PACKED_STRUCTS |
+#pragma pack(push, 1) |
+#endif |
+ |
typedef struct HB_StreamRec_ |
{ |
HB_Byte* base; |
+ HB_Byte* cursor; |
HB_UInt size; |
HB_UInt pos; |
- |
- HB_Byte* cursor; |
} HB_StreamRec; |
+#ifdef HB_USE_PACKED_STRUCTS |
+#pragma pack(pop) |
+#endif |
HB_END_HEADER |