[cexpr] Fix a naming issue with uint

I didn't notice that uint is defined somewhere on Linux... until I tried
compiling for windows (not defined). Use a define to keep the cast
function naming nice.
This commit is contained in:
Bill Currie 2021-11-18 15:42:47 +09:00
parent b892ce637a
commit 48ecfcf411

View file

@ -37,6 +37,9 @@
#include "libs/util/cexpr-parse.h"
#undef uint
#define uint unsigned
#define BINOP(pre, opname, type, op) \
static void \
pre##_##opname (const exprval_t *a, const exprval_t *b, exprval_t *c, \