Index: src/sfnt/SkOTTable_head.h |
diff --git a/src/sfnt/SkOTTable_head.h b/src/sfnt/SkOTTable_head.h |
index 3d2c0f111338207ef9d908929ca593aab2701f16..52970b0f3b4be722fe7a21412e0be996182c958c 100644 |
--- a/src/sfnt/SkOTTable_head.h |
+++ b/src/sfnt/SkOTTable_head.h |
@@ -144,7 +144,7 @@ struct SkOTTableHead { |
#include <stddef.h> |
-SK_COMPILE_ASSERT(offsetof(SkOTTableHead, glyphDataFormat) == 52, SkOTTableHead_glyphDataFormat_not_at_52); |
-SK_COMPILE_ASSERT(sizeof(SkOTTableHead) == 54, sizeof_SkOTTableHead_not_54); |
+static_assert(offsetof(SkOTTableHead, glyphDataFormat) == 52, "SkOTTableHead_glyphDataFormat_not_at_52"); |
+static_assert(sizeof(SkOTTableHead) == 54, "sizeof_SkOTTableHead_not_54"); |
#endif |