blob: 8e102db50168299bd54631527f2148621f8ef234 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-gfx_skia_src_sfnt_SkSFNTHeader.h,v 1.1 2013/05/23 13:12:13 ryoon Exp $
* Fix build wth NetBSD 5's gcc
--- gfx/skia/src/sfnt/SkSFNTHeader.h.orig 2013-01-04 23:44:33.000000000 +0000
+++ gfx/skia/src/sfnt/SkSFNTHeader.h
@@ -15,7 +15,7 @@
typedef uint16_t SK_SFNT_USHORT;
typedef uint32_t SK_SFNT_ULONG;
-#pragma pack(push, 1)
+#pragma pack(1)
struct SkSFNTHeader {
SK_SFNT_ULONG fontType;
@@ -61,7 +61,7 @@ struct SkSFNTTableDirectoryEntry {
SK_SFNT_ULONG logicalLength;
};
-#pragma pack(pop)
+#pragma pack()
SK_COMPILE_ASSERT(sizeof(SkSFNTHeader) == 12, sizeof_SkSFNTHeader_not_12);
|