commit b9a1eae5adbb01c621745c98fdea19a3b0afce3c
parent 68d74a51b8354194ab20dcc3f0229190f8218033
Author: m21c <ho*******@gmail.com>
Date: Mon, 6 Jul 2026 20:55:36 +0200
codegen: added misssing typedefs
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/compiler.c b/compiler.c
@@ -6173,6 +6173,9 @@ cginit(CodeGen *cg, FILE *out)
cgprintf(cg, "#include <stdlib.h>\n");
cgprintf(cg, "#include <string.h>\n");
+ cgprintf(cg, "typedef unsigned char uchar;\n");
+ cgprintf(cg, "typedef unsigned uint;\n");
+
cgprintf(cg, "typedef int16_t s16;\n");
cgprintf(cg, "typedef uint16_t u16;\n");
cgprintf(cg, "typedef unsigned int uint;\n");