projects
/
platform
/
upstream
/
harfbuzz.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 2.6.4
[platform/upstream/harfbuzz.git]
/
src
/
hb-shaper.cc
diff --git
a/src/hb-shaper.cc
b/src/hb-shaper.cc
index
575ab1f
..
0ea68ad
100644
(file)
--- a/
src/hb-shaper.cc
+++ b/
src/hb-shaper.cc
@@
-34,6
+34,9
@@
static const hb_shaper_entry_t all_shapers[] = {
#include "hb-shaper-list.hh"
#undef HB_SHAPER_IMPLEMENT
};
+#ifndef HB_NO_SHAPER
+static_assert (0 != ARRAY_LENGTH_CONST (all_shapers), "No shaper enabled.");
+#endif
#if HB_USE_ATEXIT
static void free_static_shapers ();