aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sfnt/SkOTTable_post.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sfnt/SkOTTable_post.h')
-rw-r--r--src/sfnt/SkOTTable_post.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sfnt/SkOTTable_post.h b/src/sfnt/SkOTTable_post.h
index f563b08b22..7461d5283e 100644
--- a/src/sfnt/SkOTTable_post.h
+++ b/src/sfnt/SkOTTable_post.h
@@ -46,7 +46,7 @@ struct SkOTTablePostScript {
#include <stddef.h>
-SK_COMPILE_ASSERT(offsetof(SkOTTablePostScript, maxMemType1) == 28, SkOTTablePostScript_maxMemType1_not_at_28);
-SK_COMPILE_ASSERT(sizeof(SkOTTablePostScript) == 32, sizeof_SkOTTablePostScript_not_32);
+static_assert(offsetof(SkOTTablePostScript, maxMemType1) == 28, "SkOTTablePostScript_maxMemType1_not_at_28");
+static_assert(sizeof(SkOTTablePostScript) == 32, "sizeof_SkOTTablePostScript_not_32");
#endif