From c4aed4ed0e11781655af37c9b9fdd6b7ceea6e84 Mon Sep 17 00:00:00 2001 From: Sean McBride Date: Thu, 6 Aug 2020 13:58:57 -0400 Subject: [PATCH] chore: re-add CHAR_BIT --- runtime/compiletime/instr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/compiletime/instr.c b/runtime/compiletime/instr.c index c4adad7..6cac91f 100644 --- a/runtime/compiletime/instr.c +++ b/runtime/compiletime/instr.c @@ -3,6 +3,8 @@ #include #include +#define CHAR_BIT 8 + // TODO: Throughout here we use `assert` for error conditions, which isn't optimal // Instead we should use `unlikely` branches to a single trapping function (which should optimize better) // The below functions are for implementing WASM instructions