提交 cee9f6e0 编写于 作者: B Behdad Esfahbod

Fail compile if no shapers enabled

上级 8786820a
...@@ -34,6 +34,7 @@ static const hb_shaper_entry_t all_shapers[] = { ...@@ -34,6 +34,7 @@ static const hb_shaper_entry_t all_shapers[] = {
#include "hb-shaper-list.hh" #include "hb-shaper-list.hh"
#undef HB_SHAPER_IMPLEMENT #undef HB_SHAPER_IMPLEMENT
}; };
static_assert (0 != ARRAY_LENGTH_CONST (all_shapers), "No shaper enabled.");
#if HB_USE_ATEXIT #if HB_USE_ATEXIT
static void free_static_shapers (); static void free_static_shapers ();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册