When defined, ONIG_DISABLE_DIRECT_THREADING disallows using computed
gotos in the match engine. Defining this macro enables onig to build
with the wasm32-unknown-unknown target on clang-8.
clang trunk enables support for computed gotos:
<https://bugs.llvm.org/show_bug.cgi?id=42498>
This commit enables building on released clang.
#define PLATFORM_UNALIGNED_WORD_ACCESS
#endif
+#ifndef ONIG_DISABLE_DIRECT_THREADING
#ifdef __GNUC__
#define USE_GOTO_LABELS_AS_VALUES
#endif
+#endif
/* config */
/* spec. config */