Index: src/sfnt/SkOTTable_hhea.h |
diff --git a/src/sfnt/SkOTTable_hhea.h b/src/sfnt/SkOTTable_hhea.h |
index b8a20701991c67fa539c2a4b458442524f1eeafd..a3b9cad7257b5faab8b710073bb01101d2615dec 100644 |
--- a/src/sfnt/SkOTTable_hhea.h |
+++ b/src/sfnt/SkOTTable_hhea.h |
@@ -50,7 +50,7 @@ struct SkOTTableHorizontalHeader { |
#include <stddef.h> |
-SK_COMPILE_ASSERT(offsetof(SkOTTableHorizontalHeader, numberOfHMetrics) == 34, SkOTTableHorizontalHeader_numberOfHMetrics_not_at_34); |
-SK_COMPILE_ASSERT(sizeof(SkOTTableHorizontalHeader) == 36, sizeof_SkOTTableHorizontalHeader_not_36); |
+static_assert(offsetof(SkOTTableHorizontalHeader, numberOfHMetrics) == 34, "SkOTTableHorizontalHeader_numberOfHMetrics_not_at_34"); |
+static_assert(sizeof(SkOTTableHorizontalHeader) == 36, "sizeof_SkOTTableHorizontalHeader_not_36"); |
#endif |